Hi there, I'm trying to use Tidy to clean up a PHPtemplate template that is being used in a vBulletin site. Tidy is doing a great job, except it's stripping out some stuff that has to remain. There is a tag called <phrase> that often looks like this: <phrase 1="$userinfo[username]">$vbphrase[add_x_to_buddy_list]</phrase> Now, when Tidy works it's magic it strips out the the stuff in the <phrase> tag, leaving me with <phrase>$vbphrase[add_x_to_buddy_list]</phrase> Is there any way I can tell Tidy to not strip out anything inside the <phrase> tag? I'm using the following version of Tidy host-174:~/src chartjes$ tidy -v HTML Tidy for Mac OS X released on 1st December 2004 The config file I've been using for testing is as follows: new-blocklevel-tags: if, else, phrase new-empty-tags: if, else, phrase new-inline-tags: if, else, phrase wrap: 0 force-output: yes Any help I could get on this issue would be greatly appreciated. Chris HartjesReceived on Tuesday, 17 January 2006 17:56:37 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 September 2008 09:20:24 GMT