WordPress.org

Ready to get started?Download WordPress

Ideas

Insert HTML coded characters into posts.

  1. barista
    Member

    I just checked my blog for XHTML validity a little bit ago and found some interesting things. One of my posts had an ampersand (&) and I used greater than and less than symbols in another place. The XHTML validator took the greater than and less than symbols to be part of an HTML tag, and it said the ampersand should be encoded as &.

    Maybe there could be a way to insert special characters. Granted, it's not a huge deal whether a page is or isn't HTML compliant, but for those of us who care... :-) I know Wikipedia has their MediaWiki:Edittools, but might be a bit to complex.

    Posted: 7 years ago #
  2. foolswisdom
    Staff

    WP 2.1's (currently in beta) Visual editor (TinyMCE) already encodes each of these characters.

    Posted: 7 years ago #
  3. kccricket
    Member

    Your complaint is that WordPress changed your ampersand (&) into the HTML entity &? And this caused it to fail W3 XHTML validation?

    From my understanding, neglecting to change special characters like & and < and > to their corresponding HTML entities is what could cause a page to fail validation.

    Can you provide an example?

    Posted: 7 years ago #
  4. hutorny
    Member

    12345

    I've been thinking about something similar - a drop-down menu on the HTML editor with all these special characters like © or ™

    Posted: 4 years ago #
  5. Alterity
    Member

    why worry - no big deal.

    Posted: 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    103 Votes
  • Status

    This idea has been implemented