Laravel-Lang / publisher

Publisher provides functionality for working with application localization
https://laravel-lang.com/packages-publisher.html
MIT License
212 stars 25 forks source link

Allow HTML when smart_punctuation option is enabled #328

Closed forxer closed 1 year ago

forxer commented 1 year ago

Change Environment MarkdownConverter configuration to allow HTML. Because when the smart_punctuation option is activated, all HTML strings are escaped while this is not the case when it is deactivated.

Replaced UTF 8 non break spaces by HTML entity for french double quotes.

andrey-helldar commented 1 year ago

Do you keep HTML in translation files?

forxer commented 1 year ago

Here it is for the config of the smart punctuation in french because the UTF8 non breack space character is removed. But it can happen sometimes, even if it's not a very good practice.

andrey-helldar commented 1 year ago

Ok, I got it. Thank you!