Don
31 Agosto, 2021 15:42
1
Hola,
No estoy seguro, pero parece que este commit rompe el HTML en los fragmentos de los temas. Por ejemplo, los emojis no aparecen, solo se muestra su código HTML…
¡Gracias!
committed 05:51AM - 31 Aug 21 UTC
* DEV: Use named parameters for dir-span helper
Follow up to: e50a5c0c73d8f98… 3286b50ac45e10ce52924269e
In order to improve code clarity this change introduces named parameters
for the dir-span helper. This is specifically for the new `htmlSafe`
parameter which you can use instead of just passing in a boolean if the
strings you are passing in have already been escaped.
Before: `{{dir-span category.description false}}`
After: `{{dir-span category.description htmlSafe=true}}`
* Set default value for params arg
2 Me gusta
blake
(Blake Erickson)
31 Agosto, 2021 18:19
2
Gracias por informar esto. Lo revisaré.
3 Me gusta
blake
(Blake Erickson)
1 Septiembre, 2021 16:12
4
Bien, aquí está la solución
main ← named-params
merged 01:58PM - 01 Sep 21 UTC
Follow up to: a2ccf0a9ff22f3e8467ac0d61f93be136bb66b31
These named params nee… d to be passed in as strings.
With `htmlSafe=true` the params show up as `{}`, but with `htmlSafe="true"`,
the params show up as `{"htmlSafe":"true"}`
Bug reported here: https://meta.discourse.org/t/202246
4 Me gusta