Warning: DOMDocumentFragment::appendXML()

Created on 19 July 2024, 4 months ago

Problem/Motivation

When adding text with a span tag and an image (img) tag to a taxonomy term, you should see the following warning pop up multiple times when viewing the page:

Warning: DOMDocumentFragment::appendXML(): ^ in Drupal\onomasticon\Plugin\Filter\FilterOnomasticon->process() (line 109 of /code/web/modules/contrib/onomasticon/src/Plugin/Filter/FilterOnomasticon.php)

The issue mentioned above worked fine with Drupal core version 10.1.8. However, after upgrading to any version greater than 10.2, the warnings described above have started appearing.

Steps to reproduce

Add image(img) and include text within a span tag. You should see the warning pop up multiple times when viewing the page.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.2

Component

Code

Created by

🇮🇳India Hardik_Patel_12 India

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024