Problem when post title includes html tags
-
My site’s post titles include html tags for formatting. For example:
<b>December Surprises</b></br><span style='font-size: 0.8em'>Late-Year Winners from John Legend and Kate Bush </span>These tags are then included by the AddThis plugin in the posts that it would created.
For example, here is the title as it appears in the AddThis button code:
addthis:title='<b>December Surprises</b></br><span style='font-size: 0.8em'>Late-Year Winners from John Legend and Kate Bush </span>'…and here is the Twitter post it would create:
bDecember Surprises/b/brspan style='font-size: 0.8em'Late-Year Winners from John Legend and Kate Bush /span http://66.197.98.104/2016/12/06/december-surprises/#.WGtMoU43-gc.twitterInstead, I would like it to create a post like this, lacking the tags:
December Surprises Late-Year Winners from John Legend and Kate Bush http://66.197.98.104/2016/12/06/december-surprises/#.WGtMoU43-gc.twitterIs there any way to have the AddThis plugin drop the html tags from the title so that they do not appear in the posts it creates? Thank you.
The topic ‘Problem when post title includes html tags’ is closed to new replies.