This commit is contained in:
@@ -30,6 +30,13 @@ public static class TemplateRichText
|
||||
&& source[index + 1] is '\\' or '[' or '$')
|
||||
{ literal.Append(source[index + 1]); index += 2; continue; }
|
||||
|
||||
if (source[index] == '$' && SystemVariables.TryRead(source, index, out var systemLength))
|
||||
{
|
||||
literal.Append(source, index, systemLength);
|
||||
index += systemLength;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (TryTag(source, index, out var tag, out var closing, out var tagLength))
|
||||
{
|
||||
Flush();
|
||||
|
||||
Reference in New Issue
Block a user