mono / t4

T4 text templating engine
Other
394 stars 101 forks source link

Support for escaping T4 tags #109

Open mhutch opened 3 years ago

mhutch commented 3 years ago

VS T4 supports escaping <# tags. Mono T4 should too.

Need to check behavior of the following:

\\
\\\
<#= "text" #>
\<#= "text" #>
\\<#= "text" #
mhutch commented 3 years ago

Turns out this is actually documented https://docs.microsoft.com/en-us/visualstudio/modeling/using-escape-sequences-in-text-templates?view=vs-2019