WordPress.org

Support

Support » How-To and Troubleshooting » Workable fixed width tag?

Workable fixed width tag?

  • I cannot post with fixed width text in Workpress. I thought the CODE tag exactly does that but when I tried it, I realized it doesn’t work. I tried various other HTML tags too like PRE or TT, but Workpress seems to escape them all along with the CODE tag.
    So what should I do? I’m using Workpress 1.2.1.
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • <pre> tag works well with fixed width text.

    but Workpress seems to escape them all along with the CODE tag.

    What do you mean? It changes <pre> to ??

    Set up a class for a selector and use a mono-spaced font like Courier, for example.

    I just realize that I misread the generated XHTML code. The WordPress converter indeed not escapes the <pre> tag, but the – (minus) characters get converted to the — or — entity.
    I don’t really understand why this conversion required. Because of this, minus characters in the preformatted text have smaller width than the rest so that’s why I haven’t percieved the text as fixed width.
    Any developer remark about the minus sign conversion policy?

    In my above post on the — or — entities I meant the #8212 or mdash entities. I didn’t know WordPress converts them.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Workable fixed width tag?’ is closed to new replies.