Wp-calypso: HTML Entities in SiteStreams

Created on 7 Jun 2017  路  2Comments  路  Source: Automattic/wp-calypso

Steps to reproduce

  1. Go to: https://wordpress.com/read/feeds/34858539
  2. Posts like this one aren't being decoded properly

What I expected

Title of the post should be: Macy's New CEO Vows to Keep Shoppers' Attention

What happened instead

Macy's New CEO Vows to Keep Shoppers' Attention

Context / Source

Thanks @designsimply for spotting this!

Reader [Type] Bug

Most helpful comment

This is because their feed is broken: https://www.businessoffashion.com/syndication/feed

You don't need to use numeric entities inside CDATA sections.

We could look for entities and decode them... intentional entities in titles are likely pretty rare. Or at least look for some commons ones. (&, ', etc)

All 2 comments

This is because their feed is broken: https://www.businessoffashion.com/syndication/feed

You don't need to use numeric entities inside CDATA sections.

We could look for entities and decode them... intentional entities in titles are likely pretty rare. Or at least look for some commons ones. (&, ', etc)

Duplicate of #12774.

Was this page helpful?
0 / 5 - 0 ratings