mirror of
https://github.com/flarum/framework.git
synced 2025-03-10 20:31:24 +08:00

This allows front-end translations to use basic (attributeless) HTML tags freely, without the need for the translator call to supply a matching vdom element. Translations can thus make use of styling (<em>, <code>, etc.) as they see fit. The translator call can still optionally supply a vdom element to substitute in more complex tags where necessary (e.g. hyperlinks). /cc @dcsjapan