Stop editor from adding “amp;” after every “&”
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.
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!