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. Link to comment https://forums.phpfreaks.com/topic/109225-php-coding-tidy/ 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>"; Link to comment https://forums.phpfreaks.com/topic/109225-php-coding-tidy/#findComment-560314 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. Link to comment https://forums.phpfreaks.com/topic/109225-php-coding-tidy/#findComment-560317 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.