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

Comments

Hardik_Patel_12 created an issue. See original summary.

hardik_patel_12’s picture

Issue summary: View changes

  • broon committed 526f6f8a on 2.3.0-beta1
    [#3462701] fix: Warning: DOMDocumentFragment::appendXML()
    
broon’s picture

Status: Active » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

  • broon committed 526f6f8a on 2.x
    [#3462701] fix: Warning: DOMDocumentFragment::appendXML()
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.