Deane Barker
Deane Barker
I'm using Postal from a class deep within my app, so it's not being called from a controller. I'd like to just see the rendered output as a string. Is...
https://github.com/sebastienros/fluid/blob/main/Fluid.ViewEngine/FluidViewRenderer.cs#L223 ``` if (!fileInfo.Exists) { return new FluidTemplate(); } ``` This is unexpected behavior. When a template is not found, you would expect an error to be thrown or some...
`TemplateContext` has a delegate called `Captured` that fires whenever the `capture` tag evaluates. Can we logically extend this to the `assign` statement as well? It would seem consistent for it...
I don't know how much help I can be on this one, but when trying to invoke the `json` filter, I'm consistently getting this error: ``` The UTC time represented...
`DictionaryValue.ToNumberValue()` always returns 0. https://github.com/sebastienros/fluid/blob/main/Fluid/Values/DictionaryValue.cs#L91 The underlying value is `IFluidIndexable` which has a `Count` property. It should return this from `ToNumberValue()`, to match the behavior of `ArrayValue`.
Should we be able to refer to "namepsaced" filters that include dots? We can register them. This works fine: ``` TemplateOptions.Default.Filters.AddFilter("html.extract_body", ExtractHtmlBody); ``` However, you get a `ParseException` if you...
Assuming I've found my pattern, I also want to include the character before _if it's a space_. So I want to do something like this: ``` if(slice.PeekCharExtra(-1).IsSpace()) { slice.PrevChar(); //...
This would be the document-centric companion to ValidateMeta. This would be for validation of the document as a whole, not just a single meta value. Examples: ``` Validate() .WithAssertion(d =>...
The `If` module should have a convenience signature that evaluates meta keys ``` If(string key, object value) ``` I often find myself testing meta keys in the `If` module, and...
In my textarea, I have this: ``` hx-trigger="keydown[ctrlKey && keyCode==13]" ``` This works to trigger on CTRL-Enter. However, it doesn't prevent the default behavior of adding a carriage return. Can...