wpstubs icon indicating copy to clipboard operation
wpstubs copied to clipboard

HTML entities printed literally

Open dartar opened this issue 10 years ago • 4 comments

Some special characters are rendered incorrectly, e.g. "Can't You Hear the Song?" [1]

[1] https://twitter.com/wpstubs/status/496180112765632513

dartar avatar Aug 04 '14 07:08 dartar

May I suggest using Twitter's official JavaScript text processing library, twitter/twitter-text-js? PR to follow.

phuedx avatar Aug 07 '14 09:08 phuedx

Nooope. We're already using mathiasbynens/he.

phuedx avatar Aug 07 '14 09:08 phuedx

It was even simpler than that: by default, Markdown escapes variables.

phuedx avatar Aug 07 '14 10:08 phuedx

hi there, not sure if this is an instance of the same problem but #Björk just turned into #Bjrk:

https://twitter.com/wpstubs/status/535291319556796416

dartar avatar Nov 20 '14 05:11 dartar