risoknop
Member
Posted 3 years ago #
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.
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.
risoknop
Member
Posted 3 years ago #
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.