php-i18n icon indicating copy to clipboard operation
php-i18n copied to clipboard

Add to the documentation how to encode % sign

Open Smolky opened this issue 7 years ago • 1 comments

I have noticed that translating characters which contains "&" sign should be properly scaped

Example: \"%word1%,word2%\"

to output "%word1%,word2%

But maybe this information will be useful in the docs

Smolky avatar Nov 17 '17 09:11 Smolky

HTML escaping is not in php-i18n's scope, but I will accept merge requests to add some documentation for this.

Philipp15b avatar Mar 21 '18 16:03 Philipp15b