humhub / translation

Internal translation tool
https://translate.humhub.org
Apache License 2.0
17 stars 15 forks source link

After saving, '=>' is converted to '=>' #27

Closed sakurafarm closed 4 years ago

sakurafarm commented 4 years ago

I tried to translate the following phrase contained in the UserModule.profile. One option per line. Key=>Value Format (e.g. yes=>Yes)

When saved, => is converted to =>.

Is there a way to avoid being escaped?

buddh4 commented 4 years ago

The encoding per se is not the problem, the problem is that the HForm used for rendering the profile form double encodes this hint. I've opened an issue: https://github.com/humhub/humhub/issues/4140