W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2013

[html-tidy] <none>

From: Talengix <kj@talengix.com>
Date: Tue, 3 Sep 2013 16:33:21 +0200
Message-ID: <CALMmfMAj9nZQPpKxwBDMx6U1iJCatVFkG1ju+Pgv1QY1x4_jmQ@mail.gmail.com>
To: html-tidy@w3.org

I am having trouble getting mod_tidy working and not sure where to begin to
troubleshoot this. I have a file tidy.config and I am not sure what format
to use to create the config options. I tried the following...

# sample config file for HTML tidy
indent: auto
indent-spaces: 2
wrap: 72
markup: yes

With this code I get the following server error...

Syntax error on line 3 of /etc/apache2/mods-enabled/tidy.conf:
Invalid command 'indent:', perhaps misspelled or defined by a module not
included in the server configuration
Action 'configtest' failed.

So I tried with another format I found online...

# sample config file for HTML tidy
    TidyOption accessibility-check 3
    TidyOption add-xml-decl yes
    TidyOption char-encoding utf8
    TidyOption enclose-text yes
    TidyOption indent auto

With this code I do not get any error. But it does not seem to work. When I
check the source code of web pages server by my server they are not
affected. Obviously my config file is being successfully read since one
format throws errors and the other does not.

I am seeking advice on how to get mod_tidy working for my Apache2 server.
Can anybody kindly help me troubleshoot this?

Many thanks
Received on Tuesday, 3 September 2013 21:20:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:59 UTC