NppTidy2
NppTidy2 copied to clipboard
additional tags created, messing up the original html code
i have run into this problem:
original code (1 line):
<html><br><head>my head</head><br><br><body>my body</body><br></html>
after running tidy2 config 1:
<html>
<head>
<meta name="generator"
content="HTML Tidy for HTML5 (experimental) for Windows https://github.com/w3c/tidy-html5/tree/c63cc39" />
<title></title>
</head>
<body>
<br />my head
<br />
<br />my body
<br /></body>
</html>
as you can see, the things which were in my
, went to the and additional lines were created.expected result would be something like this:
<html>
<br>
<head>my head</head>
<br>
<br>
<body>my body</body>
<br>
</html>
tidy2 conf1 (default):
indent: auto
indent-spaces: 2
wrap: 132
markup: yes
output-xml: yes
input-xml: no
numeric-entities: yes
quote-marks: yes
quote-nbsp: yes
quote-ampersand: no
break-before-br: no
uppercase-tags: no
uppercase-attributes: no
new-inline-tags: cfif, cfelse, math, mroot,
mrow, mi, mn, mo, msqrt, mfrac, msubsup, munderover,
munder, mover, mmultiscripts, msup, msub, mtext,
mprescripts, mtable, mtr, mtd, mth
new-blocklevel-tags: cfoutput, cfquery
new-empty-tags: cfelse
notepad++ version: 7.5.9 (32bit) tidy2 plugin version: 0.2.0.0 (installed via plugin manager)