Use of importNode and complete document in filter adds many meta elements to output

Created on 5 June 2023, over 1 year ago
Updated 15 June 2023, over 1 year ago

Problem/Motivation

Firstly, thanks for this module, its really neat.
When the filter replaces the <embedded-content> element with the plugin output, an additional <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> is embedded into the output for each element.

Steps to reproduce

Create a plugin
Have it run after the html filter corrector input filter
See <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> output in the markup for each embedded item.

Proposed resolution

Only import the body node from the document.
Working on a patch

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10

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

Comments & Activities

Production build 0.71.5 2024