Tapatalk

HTML Tidy not making the changes it suggests

HTML Tidy not making the changes it suggests

3
NewbieNewbie
3

    Jun 29, 2006#1

    Version 12.10a

    When I run HTML Tidy I get the Output Window showing all of the warnings and comments that it is changing information. However the document is never modified. There is no other window/tab that opens either.

    The "Generate Tidy Document" option is selected. I just don't get the file/window called ++HTML Tidy Output++ that the help file talks about.

    When I run Tidy, shouldn't it implement the information from the Output window, or do I have to manually do all the changes?

    I don't know if this problem existed in earlier versions because I never used Tidy before.

    Here is the output:
    HTML Tidy Parsing ...
    line 339 column 37 - Warning: inserting implicit <p>
    line 354 column 60 - Warning: replacing invalid UTF-8 bytes (char. code U+0096)
    line 383 column 54 - Warning: unescaped & or unknown entity "&A"
    line 274 column 9 - Warning: <table> lacks "summary" attribute
    line 276 column 17 - Warning: <td> proprietary attribute "background"
    line 279 column 17 - Warning: <td> attribute "width" has invalid value "-1%"
    line 279 column 17 - Warning: <td> proprietary attribute "background"
    line 302 column 17 - Warning: <td> attribute "width" has invalid value "-1%"
    line 302 column 17 - Warning: <td> proprietary attribute "background"
    line 309 column 13 - Warning: <table> lacks "summary" attribute
    line 314 column 25 - Warning: <img> lacks "alt" attribute
    line 316 column 25 - Warning: <table> lacks "summary" attribute
    line 326 column 41 - Warning: <table> lacks "summary" attribute
    line 341 column 37 - Warning: <table> lacks "summary" attribute
    line 344 column 49 - Warning: <img> lacks "alt" attribute
    line 352 column 37 - Warning: <img> lacks "alt" attribute
    line 402 column 9 - Warning: <table> lacks "summary" attribute
    line 404 column 17 - Warning: <td> attribute "width" has invalid value "-1%"
    line 404 column 17 - Warning: <td> proprietary attribute "background"
    line 406 column 17 - Warning: <td> attribute "width" has invalid value "-1%"
    line 406 column 17 - Warning: <td> proprietary attribute "background"
    line 416 column 17 - Warning: <td> proprietary attribute "background"
    Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN"
    Info: Document content looks like HTML Proprietary
    22 warnings, 0 errors were found!

    TIA,
    Gary

    6,685587
    Grand MasterGrand Master
    6,685587

      Jul 02, 2006#2

      At configuration txt file -- what is it for? I have explained the 2 existing methods running HTML Tidy.

      The solution with Htmltidy.dll produces always an output. You can use this method.

      If you prefer the latest one with "Run HTML Tidy" from the Format menu (uses tidylib.dll), an "** HTML Tidy Output **" is only generated when Generate "tidy" document is checked AND you have not enabled the option Write-Back AND there is an option active which forces HTML Tidy to make at least 1 modification to your source.

      Your file produces only warnings, but no errors. Some warnings can be corrected by HTML Tidy, but many cannot be automatically corrected.

      If you want to force an output even if the source does not have errors or something else which forces HTML Tidy to produce an output, check for example the first option Tidy-mark in the options dialog. Then HTML Tidy creates an output which is captured by UltraEdit because HTML Tidy adds following line at top of the output file (first line after <head>).

      <meta name="generator" content="HTML Tidy for Windows (vers 12 April 2005), see http://www.w3.org">

      Edited on 2006-10-29: The IDM developers have fixed the problem that a Tidy output is only generated when an error occurs with UltraEdit v12.20a and UEStudio v6.10a. Since this version UE/UES calls the Tidy correct and when Generate "tidy" document is checked the output is really created in every case. Also the problem with truncated output causing also wrong warnings and errors for larger HTML files is fixed.
      Best regards from an UC/UE/UES for Windows user from Austria