You are here: PSPad forum > English discussion forum > Glitch in reformatting html?
Posted by: supercain | Date: 07/05/2011 18:17 | IP: IP Logged
Hi,
I found an option that says reformat HTML which seems to do what i want (indenting the code lines 1 space) except for one thing that looks like a glitch to me. In some lines of code it doesnt break the line between <tr> and <td>, it only gives a random number of tabs. Here an example:
<TABLE width="100%">
<TBODY>
<TR>
<TD align="center" colspan="2">
<TABLE class="house">
<TBODY>
<TR> <TD> <--- here
<TABLE class="house">
<TBODY>
<TR>
<TD width="145px">
<IMG src="map.gif" alt="Map"> </TD><--- here
<TD rowspan="3" width="auto" align="center" colspan="3">
where it should output it like this
<TABLE width="100%">
<TBODY>
<TR>
<TD align="center" colspan="2">
<TABLE class="house">
<TBODY>
<TR>
<TD> <--- here
<TABLE class="house">
<TBODY>
<TR>
<TD width="145px">
<IMG src="map.gif" alt="Map">
</TD><--- here
<TD rowspan="3" width="auto" align="center" colspan="3">
Is it a glitch??
Thank you
Edit: sorry, the lines should appear indented but the forum just wont show the indent.
Edited 1 time(s). Last edit at 07/05/2011 18:18 by supercain.
Posted by: supercain | Date: 07/06/2011 14:31 | IP: IP Logged
Any answer? please?
Editor PSPad - freeware editor, © 2001 - 2013 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák