html in script in post content
-
I’m trying to put javascript in post content in the text (not visual) editor. It mostly works fine, but I noticed a few issues:
- blank lines and script tags are wrapped with p tags – not a big deal as i can just remove blank lines within the script
- sometimes html within the script is wrapped with p tags – it doesn’t seem to be causing issues in my case but it’s a little weird
- & is sometimes converted to an html entity of & – i can’t find a workaround and i need & to be & because it’s in a url
is there any shortcode or something i can use to tell wordpress not to change my post content and to render it on the page verbatim?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘html in script in post content’ is closed to new replies.