Title: Escaping HTML processing?
Last modified: August 18, 2016

---

# Escaping HTML processing?

 *  [lbenson99](https://wordpress.org/support/users/lbenson99/)
 * (@lbenson99)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/escaping-html-processing/)
 * Hey guys,
 * I’ve got a really annoying problem that *should* be easy to fix, but it’s proving
   mighty difficult to find a simple resolution.
 * Basically, I want a way to *avoid* escaping characters in my WP posts to the 
   equivalent HTML entity code, for certain snippets of the post.
 * For instance, when I include the link…
 * [http://example.com/script.php?a=1&b=2](http://example.com/script.php?a=1&b=2)
 * … the “&” parts are output as “& # 3 8 ;” (without the spaces) – which makes 
   for great HTML, but breaks my code.
 * It’s fine for standard HTML but when I start including dynamic Javascript/Flash
   objects, it’s a real pain.
 * Isn’t there a simple tag I can wrap around certain snippets of code to tell WP
   to output *as is*?
 * Would appreciate your input… thanks!
 * All the best, -Lee

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/escaping-html-processing/#post-300876)
 * Can’t you just use `&amp;` there, or does THAT break something too?
 *  Thread Starter [lbenson99](https://wordpress.org/support/users/lbenson99/)
 * (@lbenson99)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/escaping-html-processing/#post-300880)
 * That works in certain situations.
 * But my point is… when I want to use absolute literal code in my posts that will
   output in the same way I type it… how do I make WP do that?
 * Any plug-ins of any kind?
 * Thanks.
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/escaping-html-processing/#post-300881)
 * That I don’t know. One of the “real coders” around here might…. In other words,
   you’re meaning the way we use backticks here so that the code isn’t parsed, right?
 *  Thread Starter [lbenson99](https://wordpress.org/support/users/lbenson99/)
 * (@lbenson99)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/escaping-html-processing/#post-300883)
 * I guess so, I’ve never used backticks here.
 * I tried surrounding a snippet I didn’t want parsing with backticks inside a WP
   post, but all that did was display the backticks on the page… so I’m assuming
   the same doesn’t apply to regular posts?
 * Thanks for your help.
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/escaping-html-processing/#post-300885)
 * Nope, that’s just one of the specifics for here (bbpress wp forum-specific), 
   it just means code displays here when you post it, instead of it either partially
   disappearing or doing something else dumb.
 * When I was actively writing MUSH softcode, there were things one did to effect
   what you’re looking for, but there again, they were specific to the server environment
   for those game servers.
 * So I don’t really know the answer to your specific question, but I’ll bet there
   is one! Just keep checking back, bound to be someone around eventually who’s 
   more help than I am….
 *  [blakekr](https://wordpress.org/support/users/blakekr/)
 * (@blakekr)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/escaping-html-processing/#post-301670)
 * I have the same problem of not being able to include javascript within the page
   because of how WP converts the ampersands (etc.) and breaks it. Did anyone ever
   find an answer? I thought using the Text Control plugin and turning off all formatting
   would solve the problem, but it hasn’t.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Escaping HTML processing?’ is closed to new replies.

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [tag](https://wordpress.org/support/topic-tag/tag/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [blakekr](https://wordpress.org/support/users/blakekr/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/escaping-html-processing/#post-301670)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
