Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

additional tags created, messing up the original html code #13

Open
Lord255 opened this issue Nov 6, 2018 · 0 comments
Open

additional tags created, messing up the original html code #13

Lord255 opened this issue Nov 6, 2018 · 0 comments

Comments

@Lord255
Copy link

Lord255 commented Nov 6, 2018

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant