• We’re adding html to the Events (plugin) text area and finding that the $ sign is apparently being interpreting as code, so that a $1250 item was inadvertently ‘on sale’ for only 50 (the $12 characters weren’t showing). Apparently, $12 means something in code. How do we tell wordpress to treat it literally?

Viewing 4 replies - 1 through 4 (of 4 total)
  • a $1250 item was inadvertently ‘on sale’ for only 50

    I have to ask!! Did you have the opportunity to honor the price??

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Heh. The plugin probably plugged it into a double quoted string, so it’s being interpreted as code. They should have used single quoted strings.

    Anyway, try \$ instead.

    Thread Starter keress

    (@keress)

    Okay dokey

    The lady offering the services about fainted, but luckily, no one is pressing her to honor that price.

    Thread Starter keress

    (@keress)

    Oops, the backslash doesn’t work. We’re working around that by typing is as $ 1,250.

    If posted to the author’s forum about this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Reading $ sign literally’ is closed to new replies.