mirror of
https://github.com/moodle/moodle.git
synced 2025-07-27 17:30:53 +02:00
Prior to this change, all the line endings in the imported HTMLPurifier library were using CRLF (\r\n aka Windows style), but the HTMLPurifier source and also the downloadable artefacts use LF (\n aka Linux style) as line endings. This has been the case since510d190382
when with the commit "MDL-38672 import HTML Purifier 4.5.0" all line endings were changed from LF to CRLF. There was no comment in the commit on why this change was done. As the original source uses LF, this commit partly reverts510d190382
and goes back to LF as line endings. Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
26 lines
827 B
Plaintext
26 lines
827 B
Plaintext
Output.TidyFormat
|
|
TYPE: bool
|
|
VERSION: 1.1.1
|
|
DEFAULT: false
|
|
--DESCRIPTION--
|
|
<p>
|
|
Determines whether or not to run Tidy on the final output for pretty
|
|
formatting reasons, such as indentation and wrap.
|
|
</p>
|
|
<p>
|
|
This can greatly improve readability for editors who are hand-editing
|
|
the HTML, but is by no means necessary as HTML Purifier has already
|
|
fixed all major errors the HTML may have had. Tidy is a non-default
|
|
extension, and this directive will silently fail if Tidy is not
|
|
available.
|
|
</p>
|
|
<p>
|
|
If you are looking to make the overall look of your page's source
|
|
better, I recommend running Tidy on the entire page rather than just
|
|
user-content (after all, the indentation relative to the containing
|
|
blocks will be incorrect).
|
|
</p>
|
|
--ALIASES--
|
|
Core.TidyFormat
|
|
--# vim: et sw=4 sts=4
|