SSML support in News functionality
tomharrigan opened this issue · 1 comments
tomharrigan commented
Pretty strong case made here: https://hackernoon.com/if-you-want-a-winning-voice-app-implement-ssml-87fb43eec809#.mhhvmcmkz
We can start with not stripping P tags from the markup when stripping other HTML, and go from there as makes sense
tomharrigan commented
Thoughts on implementation:
- filter
tiny_mce_before_init
to add the SSML specs to the validcustom_elements
andextended_valid_elements
so that they don’t get stripped within the visual editor - in the output of
format_single_post
in news.php, change it fromstrip_tags
towp_kses
with the valid SSML set in theallowed_html
parameter - future, not mvp, add tinyMCE buttons to allow inserting SSML via visual editor