mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FIX: Properly encode string literals in hbs compiler
This commit is contained in:
@ -3,7 +3,7 @@ template = <<~HBS
|
||||
{{a}}
|
||||
{{{htmlValue}}}
|
||||
{{#if state.category}}
|
||||
{{attach widget="category-display" attrs=(hash category=state.category)}}
|
||||
{{attach widget="category-display" attrs=(hash category=state.category someNumber=123 someString="wat")}}
|
||||
{{/if}}
|
||||
HBS
|
||||
|
||||
|
Reference in New Issue
Block a user