Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


added missing curly brackets to HtmlHelperExtensions #1089

merged 1 commit into from

3 participants


sorry guys, just had to fix this before I could carry on speaking tonight. phew


Just a little demo to my audience ( of how quick and easy it is to send a PR :wink:

@davidfowl davidfowl merged commit 16c05d3 into from
@adamralph adamralph deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 1 deletion.
  1. +3 −1 JabbR/Nancy/HtmlHelperExtensions.cs
4 JabbR/Nancy/HtmlHelperExtensions.cs
@@ -138,7 +138,9 @@ public static IHtmlString SimplePager<TModel>(this HtmlHelpers<TModel> htmlHelpe
public static IHtmlString DisplayNoneIf<TModel>(this HtmlHelpers<TModel> htmlHelper, Expression<Func<TModel, bool>> expression)
if (expression.Compile()(htmlHelper.Model))
+ {
return new NonEncodedHtmlString(@" style=""display:none;"" ");
+ }
return NonEncodedHtmlString.Empty;
@@ -153,4 +155,4 @@ public static string RequestQuery<TModel>(this HtmlHelpers<TModel> htmlHelper)
return String.Empty;
Something went wrong with that request. Please try again.