Hello :)
I am translating a JSON file where the translatable key has HTML content.
{
"key": "CM155Q04",
"text": "<p>Click <strong>here</strong>.</p>"
}
The JSON filter has a HTML subfilter. I translate the XLIFF file and that goes well, but when I run the post-processing step, the done file I get looks like this:
{
"key": "CM155Q04",
"text": "<p>Clica <strong>aquí<\/strong>.<\/p>"
}
In other parts of the file I can see double quotes inside the HTML are escaped, which is fine. However, I wouldn't expect the slashes in the closing HTML tags to be escaped.
I haven't seen an option to tweak that in the documentation of the JSON or the HTML filters.
Any idea how I can change that behaviour?
Thank you so much.
Cheers, Manuel