[bug]: The rehype-jargon
plugin seems unable to handle nested elements inside em
elements gracefully
#6471
Labels
rehype-jargon
plugin seems unable to handle nested elements inside em
elements gracefully
#6471
What seems to be the problem? 馃
The
rehype-jargon
plugin seems unable to handle nested elements insideem
elements gracefully. For example, our website has an element like this:<em><strong>Deprecated</strong></em>
. The following line then tries to get the value of theem
element, which isn't there I guess, because there is a nestedstrong
element:
freesewing/packages/rehype-jargon/src/index.mjs
Line 20 in cd5b4b5
This results in the following error:
Design / Plugin / Package 馃
packages/rehype-jargon
Additional context
No response
The text was updated successfully, but these errors were encountered: