WordPress.org

Ready to get started?Download WordPress

Ideas

Use <q> tag for inline quotes (and generally encourage more semantic code)

  1. CircleReader
    Member

    12345

    Greenshady is right -- the editor should not kidnap your quotation marks. They may be "scare quotes" or indicate vocabulary words or titles, in which case the use of <q> would be inappropriate.

    However, the goal of promoting <q>, <cite>, etc. might be supported by this idea: http://wordpress.org/extend/ideas/topic/create-easy-api-for-adding-simple-html-tag-buttons-to-tinymce

    Posted: 4 years ago #
  2. iPhone 4G
    Member

    As greenshady sais, quotation marks do not always denote a quotation

    Posted: 3 years ago #
  3. elgranerito
    Member

    quotation marks ALMOST ALWAYS denote a quotation

    Posted: 3 years ago #
  4. coolerchoice
    Member

    great idea it could work

    Posted: 3 years ago #
  5. lyric
    Member

    I don't think this is a great idea... Unfortunately not all browsers actually render the quotation mark. Granted they SHOULD.. but that sad truth is they don't. (namely IE which unfortunately still exists)

    Posted: 3 years ago #
  6. solarissmoke
    Member

    I've written a plugin that adds a button to the WYSIWYG editor for inline quotes using the <q> tag. It requires WP3.1 (currently in RC). First pass, so bugs/suggestions welcome.

    I've tested in Firefox/Opera/IE. Works fine in FF/Opera - although the quotation marks don't appear until you put some text inside. In IE8, the quotation marks don't appear in editor mode, but they do when you view the post :S . IE<7, well, don't bother.

    I'd like to see this make it into core some day, but it probably needs IE<7 to be properly consigned to history first.

    Posted: 3 years ago #
  7. Jumia
    Member

    Great idea, but wouldn't the system get confused between normal quotation marks and quotation marks that you actually would use to quote something.

    Posted: 3 years ago #
  8. danielvulrich
    Member

    quotation marks ALMOST ALWAYS denote a quotation

    why almost? as far as i understand they always denote a quotation

    Posted: 3 years ago #
  9. As there's no "one size fits all" solution to this issue, it'd be best served by either providing an option in the dashboard or by alloing plugins to handle this in the backend.

    Posted: 2 years ago #
  10. lcrook
    Member

    Agreed! After all; "Code is poetry".

    Posted: 2 years ago #

RSS feed for this topic

Reply »

You must log in to post.

  • Rating

    12345
    153 Votes
  • Status

    This idea is under consideration