how can I allow apostrophes in my html output?
-
I need to include a bit of javascript in a blog, to incorporate an old comment system. This requires having apostrophes in my HTML output, but WordPress converts them to character codes which breaks the javascript. I’ve checked all instances of htmlentities, htmlspecialchars, and get_html_translation_table , but haven’t found the place where this is being converted.
The javascript snippet in my database is:
<script type=”text/javascript”>postCount(‘200603071’);</script>
Which gets rendered as:
<script type=”text/javascript”>postCount(’200603071′);</script>
Thanks!!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘how can I allow apostrophes in my html output?’ is closed to new replies.