Open acobster opened 5 years ago
As an WP admin, I want to be able to include special characters in my button markup:
[button]<a href="/">button’s apostrophe</a>[/button]
Note about copy/pasting: that's the ' entity in "button's apostrophe", an example of a character that get re-encoded incorrectly when saveHTML() gets called.
'
saveHTML()
This should render:
<a href="/" class="btn">button’s apostrophe</a>
Instead, it renders something like:
<a href="/" class="btn">button’s apostrophe</a>
Put the above shortcode snippet in an RTE
WP 5.2, Timber 1.8, Conifer 0.6
git clone
GitHub zip download
Expected behavior
As an WP admin, I want to be able to include special characters in my button markup:
Note about copy/pasting: that's the
'
entity in "button's apostrophe", an example of a character that get re-encoded incorrectly whensaveHTML()
gets called.This should render:
Actual behavior
Instead, it renders something like:
Steps to reproduce behavior
Put the above shortcode snippet in an RTE
What version of WordPress/PHP/Timber/Conifer are you using?
WP 5.2, Timber 1.8, Conifer 0.6
How did you install Conifer? (for example, via
git clone
, GitHub zip download, Composer/Packagist?)GitHub zip download