Skip to content
Snippets Groups Projects
Commit 890845af authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

templater: strictly parse leading backslashes of '{' (issue4569) (BC)

Because double backslashes are processed as a string escape sequence, '\\{'
should start the template syntax. On the other hand, r'' disables any sort
of \-escapes, so r'\{' can go either way, never start the template syntax
or always start it. I simply chose the latter, which means r'\{' is the same
as '\\{'.
parent db7463aa
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment