WordPress.org

Support

Support » How-To and Troubleshooting » N dash entity –

N dash entity –

  • Hello,

    I am posting many code snippets in my blog posts, my problem is that the decrement operator (two minus operators next to each other –) is getting escaped to n dash HTML entity which looks like a single minus operator.

    How can I solve this issue?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Do you use a plugin to display code? If not, doing so might resolve this issue. Check the plugin database, there are quite a few. WP-Syntax comes to mind.

    Well, I do use a plugin – Highlight Source Pro.

    That doesn’t solve the issue apparently.

    Maybe try a different code highlighting plugin? It may be that Highlight Source Pro doesn’t property handle the decrement operator.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘N dash entity –’ is closed to new replies.