mustache-sharp icon indicating copy to clipboard operation
mustache-sharp copied to clipboard

An extension of the mustache text template engine for .NET.

Results 44 mustache-sharp issues
Sort by recently updated
recently updated
newest added

I've been using mustach for more than 5 years, and I never understood the role of additionnal handlebar.js spec and its apparent redudancy with the equivalent functionnality in mustach spec....

As requested in issue #86 I added unit tests for properties containing empty strings, nulls and single curly braces. It might make sense to add them to the general test...

TestCompile_MultipleTags will fail if CultureInfo.CurrentCulture is not en-US. output example (in ja-JP): ``` Hello Bob: Below are your order details: Banana: ¥3 x 1 Orange: ¥1 x 5 Apple: ¥0...

Is it possible to do expressions in identifier like {{num1 * num2}}. Adding this feature would make this library more powerful like xslt transformation. Thanks

When passing dynamically parsed data from Newtonsoft (JToken) all values are IEnumerable but .Any() returns false for non-arrays so all #if tests fail. Say the template looks like this: {{#if...

I've written a test to replicate this problem - this would be really useful functionality for us. ``` /// /// Testing with Dynamic object. /// [TestMethod] public void TestCompile_DynamicObject_RendersCorrectly() {...

.NET Core 1.1 was released at [november 17](https://blogs.msdn.microsoft.com/dotnet/2016/11/16/announcing-net-core-1-1/) and there are 3 releases more after 1.1 (1.1.1, 1.1.2 & 2.0.0). This code don't break your current compilation because I created...

A common requirement is to have a list with a delimiter that is not shown for the final item - i.e. `1, 2, 3` instead of `1, 2, 3,`. This...

Added RemoveNewLines public property to HtmlFormatCompiler so you can preserve template formatting.

Is there any capability to do an If... Or... such as: Hello {{#if {{Man}} || {{Boy}}Mr.{{#else}}Mrs.{{/if}} Smith!