random1 Posted June 8, 2008 Share Posted June 8, 2008 Hi All, I am currently running a website that uses the tidy extension. This is working fine but I want to add a few rules to it's HTML output behaviour e.g. change <b> tags to <strong> change <i> tags to <em> .... Can tidy add this kind of behaviour or is there another better way? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
MiCR0 Posted June 8, 2008 Share Posted June 8, 2008 I do not see why u can not use them on the echo's or where you are setting the strings. echo "<strong>".$whatever."</strong>"; Quote Link to comment Share on other sites More sharing options...
random1 Posted June 8, 2008 Author Share Posted June 8, 2008 Because the generated HTML will be custom user-generated content. I want to standardize their display. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.