The ' HTML5 entity in the og:title meta tag are not being decode when a URL is automatically wrapped.
For example: http://www.latimes.com/opinion/op-ed/la-oe-hemenway-guns-20150423-story.html
Gets wrapped as: There's scientific consensus on guns -- and the NRA won't like it
This is the line triggering it:
It looks like html_entity_decode needs to some flags to handle HTML5 explicitly rather than just HTML4. However, this was added in php 5.4 so some backwards compatibility care would need to be done.
For example: http://www.latimes.com/opinion/op-ed/la-oe-hemenway-guns-20150423-story.html
Gets wrapped as: There's scientific consensus on guns -- and the NRA won't like it
This is the line triggering it:
Code:
<meta property="og:title" content="There's scientific consensus on guns -- and the NRA won't like it" data-meta-updatable/>
It looks like html_entity_decode needs to some flags to handle HTML5 explicitly rather than just HTML4. However, this was added in php 5.4 so some backwards compatibility care would need to be done.