[BUG] wpautop() mess with the JavaScript outputted by [ggpkg]
-
The plugin’s shortcode outputs JavaScript code which might contain empty lines. These lines will be converted into <p></p> by WordPress’ infamous wpautop() function. That results in a syntax error in the JavaScript.
Awaiting a bug fix, I’ve created a tiny plugin that can be used as a fix. See https://github.com/Kntnt/kntnt-ggpkg-shortcode-fix.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[BUG] wpautop() mess with the JavaScript outputted by [ggpkg]’ is closed to new replies.