|
|
|
|
#1 |
|
Member
Join Date: Oct 2005
Location: Denton, TX
Posts: 242
|
I'm surprised I haven't been able to find such an animal. What I'm looking for is something that pretty prints php but will also clean up (X)HTML. While I realize it may be a challenge for the embedded HTML inside the php, I'm thinking it wouldn't be all that difficult for a formatter to clean up HTML that's outside of the php tags.
My problem is that I can't seem to find something that does both. I've found HTML pretty printers that either ignore the php sections or place it into a long single line. I've also found php pretty printers that ignore the HTML or mangle it--for example, TIDY mangles everything because there's no header (it's created with a php include). One solution might be to find two separate tools that do the least amount of damage, then run the file through in sequence. I've also considered cutting and pasting. Luckily most of my code is readable--at least to me--but sometimes I just wish things could be straightened up a bit. Carl |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HTML is Dead. Long live HTML. Five that is... | CarlSeiler | Web Design | 3 | 07-30-2007 11:04 PM |
| XLS to HTML | dthomsen8 | Web Site Building & Maintenance | 3 | 08-07-2006 03:53 PM |
| If you like HTML even a little... | iamback | Web Design | 0 | 06-09-2006 12:15 AM |
| Semantic HTML? | ktinkel | Web Design | 7 | 08-30-2005 11:50 AM |
| Help, Pretty Please? | Franca | Images | 13 | 04-10-2005 03:34 PM |