WordPress.org

Ready to get started?Download WordPress

Forums

FYI: fancier ins and del tags, plus bugfix (2 posts)

  1. revbob
    Member
    Posted 9 years ago #

    Any of the developers who feel like doing this, there's a bug in the way quicktags.js generates datetime. Not only does it give a month one less than it should, but my reading of the document called out in the HTML 4.01 spec requires month (etc.) fields in datetime attributes to be 2-characters in size. Which says to me you have to zero-pad them.

    Here's the code:
    http://blog.crispen.org/archives/2005/02/02/hacking-ins-and-del/

    And while I was in there, I added title attributes to the <ins> and <del> tags and made the date and time a little prettier in the title attributes.

    My code's pretty "agricultural". Sorry 'bout that.

  2. Kafkaesqui

    Posted 9 years ago #

    I'm fairly sure both issues are dealt with in version 1.5, which is beta right now.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.