WordPress.org

Ready to get started?Download WordPress

Forums

N dash entity – (4 posts)

  1. risoknop
    Member
    Posted 5 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.

  2. asechrest
    Member
    Posted 5 years ago #

    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.

  3. risoknop
    Member
    Posted 5 years ago #

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

    That doesn't solve the issue apparently.

  4. asechrest
    Member
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic