Multiple emojis in title breaks <abbr> tag



  • emoji test <abbr title=";-)">emoji test</abbr>
    space after emoji <abbr title=";-) ">space after emoji</abbr>
    space before emoji <abbr title=" ;-)">space before emoji</abbr>

    2 emoji test <abbr title=";-) ;-)">emoji test</abbr>
    ">space after 2nd emoji <abbr title=";-) ;-) ">space after 2nd emoji</abbr>
    :wink[;-)]:">space before 1st emoji <abbr title=" ;-) ;-)">space before 1st emoji</abbr>



  • Even more fun:
    The bad formatting is even worse when the page is initially opened or hard refreshed. Soft refreshing the page by clicking the timestamp link on the post readjusts how the broken tags look.

    Before:
    0_1490979406046_upload-5fddd186-5bc5-4686-98e6-554ca5e1710b

    After:
    0_1490979453697_upload-7ffa2123-064f-4459-8c69-99dc462602b0



  • Goddamn regex html parsers


  • sockdevs


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.