Bug:HTML Editor in Auto Action is broken
Posted: Sat Jul 19, 2025 9:05 am
The HTML editor has a serious bug in that if one adds HTML code to the editor via code with both URLs and shortcodes, the editor will then add escape sequences to the special characters [&] and others. This renders both URLs using &, %, ? or other special characters useless, and it also makes shortcodes non-functional. It's literally a single regExpression to get rid of those escape characters, or perhaps upgrade to one of the new modern HTML editor PhP libraries that are way better than whatever is in there.
The other annoying part is that the editor will destroy any HTML code format entered. This is bad for those of us who use an external IDE or do AI assisted HTML generation to develop nice pretty HTML, it makes it super hard to maintain. This is less of a big deal because it doesn't break the behavior in production such as disabling shortcodes and rendering URLs non-functional.
The other annoying part is that the editor will destroy any HTML code format entered. This is bad for those of us who use an external IDE or do AI assisted HTML generation to develop nice pretty HTML, it makes it super hard to maintain. This is less of a big deal because it doesn't break the behavior in production such as disabling shortcodes and rendering URLs non-functional.