Closed localjo closed 9 years ago
The API response needs to be wrapped in a <p>
tag, but it looks like it isn't currently.
Ok, I made sure the <p>
tags are added. Currently "
s are escaped with \"
, which seems right in the JSON response, but I'm not sure if that will cause problems when used in the page.
Just tested with Flatts locally, and the current output works! 👏
<p>Rascal Flatts’ new music video for their latest single “Riot” is now live exclusively on NASH TV at <a href=\"http://www.nashtv.com\">www.nashtv.com</a>. The video will also be carried on all NASH TV platforms including Cumulus Media, Inc. and NASH exclusive partner Music Choice.</p>
@pushred Just waiting on your 👍now.
:+1: Looks good
Clique Tools allowed Markdown formatting in leads and thus these tags have been carried over into the content imported into WordPress as excerpts. But the Jetpack Markdown module we use to parse the content does not apply to the excerpts by default, so this PR adds a filter to parse the excerpt markdown before adding it to the API response.