|
Revision 21, 0.8 kB
(checked in by admin, 18 years ago)
|
|
|
| Line | |
|---|
| 1 | Output.TidyFormat |
|---|
| 2 | TYPE: bool |
|---|
| 3 | VERSION: 1.1.1 |
|---|
| 4 | DEFAULT: false |
|---|
| 5 | --DESCRIPTION-- |
|---|
| 6 | <p> |
|---|
| 7 | Determines whether or not to run Tidy on the final output for pretty |
|---|
| 8 | formatting reasons, such as indentation and wrap. |
|---|
| 9 | </p> |
|---|
| 10 | <p> |
|---|
| 11 | This can greatly improve readability for editors who are hand-editing |
|---|
| 12 | the HTML, but is by no means necessary as HTML Purifier has already |
|---|
| 13 | fixed all major errors the HTML may have had. Tidy is a non-default |
|---|
| 14 | extension, and this directive will silently fail if Tidy is not |
|---|
| 15 | available. |
|---|
| 16 | </p> |
|---|
| 17 | <p> |
|---|
| 18 | If you are looking to make the overall look of your page's source |
|---|
| 19 | better, I recommend running Tidy on the entire page rather than just |
|---|
| 20 | user-content (after all, the indentation relative to the containing |
|---|
| 21 | blocks will be incorrect). |
|---|
| 22 | </p> |
|---|
| 23 | --ALIASES-- |
|---|
| 24 | Core.TidyFormat |
|---|