Please provide the following details if possible or relevant:
the version of Ace impacted by the issue: 1.3.2
the version of Node used to run Ace: v18.16.1
your operating system and version: macOS 13.5.2
I have a document with this code:
<p lang="it-IT" xml:lang="it-IT">
<span xml:lang="en-GB">
Bla bla bla
</span>
</p>
The problem I am encountering is that the xml:lang attribute is interpreted only by the reading solutions that read XHTML and ignored by those that read HTML. Perhaps it would make sense to add a check to make sure that the language attributes are all expressed using one approach (lang or xml:lang) or both?
Ace does not currently report anything, but I think this code could be problematic in some cases.
Please provide the following details if possible or relevant:
I have a document with this code:
The problem I am encountering is that the
xml:lang
attribute is interpreted only by the reading solutions that read XHTML and ignored by those that read HTML. Perhaps it would make sense to add a check to make sure that the language attributes are all expressed using one approach (lang
orxml:lang
) or both?Ace does not currently report anything, but I think this code could be problematic in some cases.