Closed longhua closed 10 years ago
I use default settings and the original HTML is as follow:
<!DOCTYPE html> <html> <head> <title>Title</title> </head> <body> <h1>heading 1</h1> <p> paragraph 1 </p> </body> </html>
I select the whole document and run tidy command. Then I get the following text:
<h1> heading 1 </h1> <p> paragraph 1 </p>
It only returns the content of HTML body.
You're not supposed to select the whole document before calling Tidy - either select some HTML snippet, or don't select anything if you want the whole document to be processed.
I use default settings and the original HTML is as follow:
I select the whole document and run tidy command. Then I get the following text:
It only returns the content of HTML body.