Malformed 1st definition on a page with the word "definition" defined
-
On a client’s project, I’m geting a malformed 1st definition on a page that comes out looking like this:
“Only art and definition=”explanatory-dictionary-definition-10″>science give us a hope for a higher life.” —Ludwig van Beethoven
Looking at the source, this is what’s happening:
<span class="explanatory-dictionary-highlight" data-<span class="explanatory-dictionary-highlight" data-definition="explanatory-dictionary-definition-42">definition</span>="explanatory-dictionary-definition-10">science</span>
rather than:
<span class="explanatory-dictionary-highlight" data-definition="explanatory-dictionary-definition-42"> science </span>
It seems to be nesting a second span within the first.
I tried adding the [no-explanation][/no-explanation] tags around the word, and then the second definition on the page breaks the same way.
I’ve not seen this on any other pages.
However, I noticed that the client had the work “definition” defined. When I set that glossary term to “Draft” status the problem corrected itself. Odd that it only happened on that one page, though.
Can you somehow allow the word “definition” to be defined and not break like this?
Thanks,
MichaelPage in question: https://www.capitalismtheliberalrevolution.com/chapter/replacements-for-the-political-state/
https://www.ads-software.com/plugins/explanatory-dictionary/
- The topic ‘Malformed 1st definition on a page with the word "definition" defined’ is closed to new replies.