Issue #912Opened February 28, 2018by nojacko2 reactions

[BUG]: HTML attributes/traits not escaped

Question

When double quotes are added to an attribute it breaks the HTML.

  1. https://jsfiddle.net/szLp8h4n/
  2. Drag in the link block.
  3. Click the link in the editor
  4. Go to "Component settings" panel
  5. Enter This is an "example" into title field.
  6. Click the view code icon.
  7. Invalid HTML is generated
<div class="c318">Hello World!!!</div>
<a title="This is an  "example"" class="c739">Link</a>

Answers (3)

artfMarch 2, 20181 reactions

Thanks for the catch James PRs are welcome

artfMarch 15, 20181 reactions

@nojacko I don't build files before the release so if you're using files from dist you're still using the old one

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.