You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not exactly a bug, but it has been a known issue in Pegasus since the very beginning. (Duplicate of #44)
You'll be happy to hear that I've recently integrated Roslyn into the Pegasus parser, allowing any valid C# to be used in a code section. You can try out the latest release on NuGet, which should work as you expect: https://www.nuget.org/packages/Pegasus/4.0.0-alpha0035
sorry about my poor English 😅
I was using pegasus to build my text template engine.
I use a double brace to escape one of them, as following:
but an error appeared:
it seems the braces inside the code section must be paired. but I think a single brace inside a c# string expression should be legal
for now , I have to write like this to bypass this problem:
but it is really hard to read. so is this a bug ?
The text was updated successfully, but these errors were encountered: