tagHandling: 'html' and ignoreTags don't seem to work together
robgeurden opened this issue · 2 comments
robgeurden commented
Describe the bug
We have a list of words we don't want translated. We tag the words before sending them to Deepl with the tag we configure in the ignoreTags property. This works well when tagHandling is set to XML but not when it's set to HML
JanEbbing commented
Are you trying to use the ignore_tags parameter for HTML as well? Please note that this parameter is for XML tag handling only, in HTML to disable translation of an element you simply add the attribute translate="no" or class="notranslate".
See the docs here
robgeurden commented
Ah it's a clear case of RTFM :-)
Thanks for the explanation.