mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 23:47:41 +08:00

* DEV: Use named parameters for dir-span helper Follow up to: e50a5c0c73d8f983286b50ac45e10ce52924269e 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