WordPress.org

Support

Support » How-To and Troubleshooting » <del> tag adding datetime stamp in 1.5

<del> tag adding datetime stamp in 1.5

  • sahdoggiemom
    Member

    @sahdoggiemom

    Just upgraded to 1.5 over the weekend, and here’s what I got when I highlighted “Because” and clicked the <del> tag when writing a post:

    <del datetime=”2005-06-06T17:11:3305:00″>Because </del>

    Datetime? Huh? Anyone know what’s causing this and more importantly, how I can fix it?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mark (podz)
    Support Maven

    @podz

    Hi !

    It’s apparently the correct behaviour as it is indicating when the line was struck out. 3 Options:
    – leave it
    – manually delete the stuff you don’t want
    – or ask where to edit 🙂

    (I’ll go work on 3 …)

    Mark (podz)
    Support Maven

    @podz

    Download and open the file ‘quicktags.js’ with Notepad (or similar)
    lines 69 to 75 look like this:
    edButtons[edButtons.length] =
    new edButton('ed_del'
    ,'del'
    ,'<del datetime="' + datetime + '">'
    ,'</del>'
    ,'d'
    );

    Change it to
    edButtons[edButtons.length] =
    new edButton('ed_del'
    ,'del'
    ,'<del>'
    ,'</del>'
    ,'d'
    );

    That’ll sort it 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘<del> tag adding datetime stamp in 1.5’ is closed to new replies.