HTML Tidy is an html formatter used to pretty print existing markup.
Questions tagged [htmltidy]
168 questions
4
votes
1 answer
HTML::Tidy on Windows newline issue
When using HTML::Tidy on Windows to clean the output of an HTML::Element as_HTML method I'm getting the wrong type of newline. If I don't specify the newline in the HTML::Tidy constructor, I get my lines terminated by CRCRLF. If I specify 'LF'…

Oesor
- 6,632
- 2
- 29
- 56
4
votes
0 answers
HTML tidy linter:
I'm using tidy 5.2.0.
The following works fine and shows no tidy linting errors:
However, if I place the button in a span tag, tidy…

user1234795
- 113
- 1
- 6
4
votes
1 answer
Tool to correct invalid CSV files
Is there any command-line tool or ruby library to clean/correct invalid .csv files, something like tidy for html?
Example of error: unescaped non-successive double quotes.
Related to: Regular expression to find and replace unescaped Non-successive…

Vlad Zloteanu
- 8,464
- 3
- 41
- 58
4
votes
1 answer
Tidying PHP and HTML Code?
I wonder if anyone could please help me I have been using HTML tidy and eclipses built-in function to tidy up my code. I am having great trouble with the following situations...
when HTML is split between files via includes, having result…
user427165
4
votes
0 answers
Atom - linter-tidy not linting
I'm having an issue setting up atom for html. I installed linter for atom and linter-tidy linked from the atom linter's website. I put tidy.exe in C:/tidy/tidy.exe. In the linter-tidy settings I've tried no path to tidy, C:/tidy/tidy.exe and…

Mathew Jennings
- 53
- 5
4
votes
0 answers
How can I get a specific attribute from a html dom node using libtidy
I am using C++ and libtidy to parse the html page. but the document for libtidy is so incomplete that I can hardly understand what do the API functions do. What I want is to get the specific attribute value from a html dom node, for example: