When selecting 'Extra element' as implementation, the twig template is rendered incorrectly.
How template should be rendered (using a definition tag)
<dfn>
<button>
<p>
<a>Read more link</a>
</p>
</button>
</dfn>
How template is rendered when inside <p>
tag:
<p>
<dfn>
<button>
</button>
</dfn>
</p>
<p>
<a>Read more link</a>
</p>
<p>
tags cannot be nested, to the <p>
from the template (onomasticon.html.twig) is rendered after the parent <p>
has been closed (which is outside the <dfn><button>
elements). This issue started to occur after updating to Drupal Core 10.2.
<p>
tag with a term to a text field using the text formatUse another element inside the button (e.g. <span>
).
Active
2.2
Code