Don
31. August 2021 um 15:42
1
Hallo,
ich bin mir nicht sicher, aber es scheint, als würde dieser Commit das HTML in Themen-Auszügen brechen. Zum Beispiel werden Emojis nicht angezeigt, sondern nur deren HTML-Code…
Vielen Dank!
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 „Gefällt mir“
blake
(Blake Erickson)
31. August 2021 um 18:19
2
Vielen Dank für die Meldung. Ich werde mir das ansehen.
3 „Gefällt mir“
blake
(Blake Erickson)
1. September 2021 um 16:12
4
Alles klar, hier ist die Lösung
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 „Gefällt mir“