humhub / translation

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

Fix tests: avoid escaping inside attributes `a[href]` and `img[src]` #62

Closed yurabakhtin closed 6 months ago

yurabakhtin commented 6 months ago

Fix errors in tests https://github.com/humhub/translation/actions/runs/8268396569/job/22621162486#step:25:127:

Excepted: <a href="{asdf}">{asdf}</a>
Actual: <a href="%7Basdf%7D">{asdf}</a>

Excepted: <img src="{asdf}" alt="Test">
Actual: <img src="%7Basdf%7D" alt="Test">

Related to changes from the PR https://github.com/humhub/translation/pull/61.