Hi
thanks for your reply
but for several reasons
Good programming practice, since wordpress accepts html tags in both page and post titles, and doesn’t strip them from the titles to allow site themes to selectively style the titles when they are displayed on websites.
having hmtl tags in the post title allows users selectively style how post titles are displayed in different areas of web pages,
eg. a shorter version in navigation list of posts or even the showing the shorter version in the h1 tag on the page whilst allowing the full version of the post title to be displayed in the pages title tag (embeded html tags removed with a override function in the themes functions.php file
it might help if I gave you an example
post title stored in database : <span>Sites Name </span>November 2009 <span>Club </span>Newsletter
which will display in the html page title : Sites Name November 2009 Club Newsletter
then for example the sites theme could style the posts list, with css so that only:
November 2009 Newsletter
is displayed, the site theme could be designed to display either the long or short version depending on the requirements of the sites owner
if you don’t strip html tags these are passed to the query string passed which is sent to ping fm, encoded as html entities, ping fm then passes these to the target application eg facebook which displays these entities in the automated posts,which as you know will look html in the post
Even if you don’t agree with this methodology, since you are accessing the raw post data as it returned from the database into wordpress, it makes sense to protect your plugin’s users from themselves!
yours
Ian