• Resolved 5115

    (@5115)


    My code tag doesn’t seem to be working.

    Anything as simple as <sup></sup> posted between <code></code> does not show up. Words without brackets do show up.

    What is causing this issue and how do I fix it?

    Thanks in advance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • pweingart

    (@pweingart)

    Looks like your html interpreter is eating the bracketed items as tags.

    Try quoting them. I’m not an experienced html guy, but I do believe the html quote character is a back-tick, “`”.

    Thread Starter 5115

    (@5115)

    Thanks for your reply.
    Just so I am understanding you, do you mean the following:
    <sup></sup> between just the backtick and not <code></code>?

    If so, still no luck.

    Thread Starter 5115

    (@5115)

    Anyone have a clue on how to fix this?

    Thanks.

    moshu

    (@moshu)

    You mean posting code in your WP blog posts?
    Most people use some kind of syntax-highlighter plugin.

    Thread Starter 5115

    (@5115)

    @moshu:
    Thanks for your reply.
    Correct. My latest tutorial requires me to post javascript code (or anything between brackets) and it does not show up between <code></code>.

    Do you have any experience with the CodeHighlighter plugin?

    moshu

    (@moshu)

    Not really, but if it’s compatible with 2.3.1 – try it.

    I am using an older one (mainly on a 2.0.11 WP version):
    https://blog.igeek.info/wp-plugins/igsyntax-hiliter/

    Thread Starter 5115

    (@5115)

    Cool. Syntax Hiliter v3.5 works. Issue resolved.

    Thanks moshu. Your time is much appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Code tag not working correctly’ is closed to new replies.