You are here: PSPad forum > English discussion forum > html code formatting (pretty print)

html code formatting (pretty print)

#1 html code formatting (pretty print)

Posted by: kdb | Date: 2020-03-24 11:27 | IP: IP Logged

The function html code formatting (pretty print) leads to the following result.
It used to be different. I probably accidentally changed something.

wrong

<?xml version="1.0" encoding="UTF-8"?>
<se >
<Partner >
<guid>DA020000-47F6-1020-8D-6D-0000FAC8A8C0
</guid>
<number>000952
</number>
<name>test
</name>
<updateInfo>
<createTime>2005-02-23T14:55:07.808Z
</createTime>
</updateInfo>
<MaintainingOrganization>
<type>INTERNAL
</type>
</MaintainingOrganization>
<Employee>
<employeeNumber/>
<EntityExtension/>
</Employee>
</Partner>
<Partner xmlns="com.cisag.app.general.obj.Partner">
<guid>CDD90000-DAEF-1025-B1-5F-00000F0AA8C0
</guid>
<number>013521

Right

<?xml version="1.0" encoding="UTF-8" ?>
<se>
<Partner>
<guid>DA020000-47F6-1020-8D-6D-0000FAC8A8C0</guid>
<number>000952</number>
<name>test</name>
<updateInfo>
<createTime>2005-02-23T14:55:07.808Z</createTime>
</updateInfo>
<MaintainingOrganization>
<type>INTERNAL</type>
</MaintainingOrganization>
<Employee>
<employeeNumber />
<EntityExtension />
</Employee>
</Partner>
<Partner xmlns="com.cisag.app.general.obj.Partner">
<guid>CDD90000-DAEF-1025-B1-5F-00000F0AA8C0</guid>
<number>013521</number>

who can help me

Options: Reply | Quote | Up ^


#2 Re: html code formatting (pretty print)

Posted by: pspad | Date: 2020-03-24 11:33 | IP: IP Logged

Use integrated TiDy on the bottom of HYML menu. You can create own settings.

Or try to use reformat html from the html menu, it's simple but it can fulfill your needs

Edited 1 time(s). Last edit at 2020-03-24 11:35 by pspad.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2020 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR