How to set a global rule for HTML filter to avoid translating based on translate attribute?

In the XML parser, I can set an XPath rule that states //*[@translate="no"] and mark it as not translatable and this would apply to all elements that have that attribute set to no. However, I am wondering if something similar is possible in the HTML filter.

I have made this work by creating another element such as p (paragraph) shown in the screenshot example and setting the conditions but I have only been able to make this work by adding a new parsing rule for each of the HTML elements that may contain this translate="no" attribute. Is there a way that I could do something similar to XPath where any element with that attribute value would not be extracted for translation?

HTML Parser

Parents Reply Children