We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Stop editor from adding “amp;” after every “&”

Avatar photo[anonymous]


Unfortunately there are no easy way to fix this as you can read on TinyMCE documentation:

All characters will be stored in non-entity form except these XML default entities: & < > “

I suppose that it is due security reasons.

The only solution which I see – create custom helper which will replace all encoded ampersands in the post content into normal ampersands.