Fix a bug w.r.t. quoting and escaping boolean values with filters.
This commit is contained in:
@@ -6,3 +6,8 @@ Dust automatically applies the `|h` filter to html escape unless `|s` is applied
|
||||
Iterate over all filters
|
||||
If `|s` is not present append `|h`, otherwise, leave filters as-in
|
||||
During render, `|s` does nothing, so we can just remove it on the dust side to prevent confusion.
|
||||
|
||||
Quoting
|
||||
-------
|
||||
|
||||
Oddly enough, `boolean|j|js` gets no quotes (meaning `boolean|j` remains a boolean) but `boolean|h|js` does get quotes (meaning that `boolean|h` becomes a string)
|
||||
|
||||
Reference in New Issue
Block a user