Skip to content
This repository has been archived by the owner on Jan 5, 2018. It is now read-only.

Allow any HTML as content for replaceNodeContent #13

Open
wants to merge 5 commits into
base: 8.x-1.x
Choose a base branch
from

Conversation

AndreyMaximov
Copy link

https://www.drupal.org/node/2602316

Before that only strings with single top level element (root) worked correctly:

  • <div>content</div>;
  • Simple string.

Following strings didn't work before, only some beginning part of data was inserted

  • Hello, <span>World</span> – only Hello, here
  • <p>first</p><p>second</p> – only <p>first</p> here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant