Using 'tidy' option for output of pages
andrewsuth - October 18, 2009 - 14:51
| Project: | htmLawed |
| Version: | 6.x-2.7 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I've been trying to get my HTML pages to output using the 'tidy' option of htmLawed without success.
I added 'tidy'=>-1 to all of the default configurations (Body, Comment, etc) but it doesn't change the outputted HTML for the pages; it continues to show the HTML with tabs and a lot of spaces. I then tried to add the above configuration to individual content-types and selected the Filter content during page-display option but the results are still the same.
Any ideas what I am doing wrong?

#1
Hi,
I just re-tested the latest version of the module against a fresh, and otherwise-3rd-party-module-free installation of Drupal 6.14 on a Mac OS X 10.5/PHP 5.2 setup, and I don't see any issue.
The in-built htmLawed module settings were not changed, so for all content the 'Default' settings are used. The 'Default' settings were, however, edited by appending:
, 'tidy'=>-1
to the Config. fields for 'Body', 'Comment' and 'Other'.
Please re-check and let me know. Thanks.
#2
I've done this and am still not getting any results.
Any idea of where I could look to find the issue?
#3
Sounds silly, but can you confirm that htmLawed is working in your setup? E.g., do tags not permitted as per the 'Config.' field value actually get filtered. Also, can you tell me what other filters are enabled for the input format?