mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Expand note on beautification with link to online HTML Tidy
This commit is contained in:
parent
b9bcb7008c
commit
9335fb3093
@ -388,10 +388,14 @@ beautify. Accessed via :guilabel:`Tools->Beautify all files`.
|
|||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
In HTML any text can have significant whitespace, via the CSS white-space
|
In HTML any text can have significant whitespace, via the CSS white-space
|
||||||
directive. Therefor, beautification could potentially change the rendering
|
directive. Therefore, beautification could potentially change the rendering
|
||||||
of the HTML. To avoid this, as much as possible, the beautify algorithm
|
of the HTML. To avoid this as far as possible, the beautify algorithm
|
||||||
only beautifies block level tags that contain other block level tags. So,
|
only beautifies block level tags that contain other block level tags. So,
|
||||||
for example, text inside a <p> tag will not have its whitespace changed.
|
for example, text inside a <p> tag will not have its whitespace changed.
|
||||||
|
This can sometimes mean that some HTML files will not be affected by
|
||||||
|
beautify as they have no suitable block level tags. In such cases you can
|
||||||
|
try different beautification tools, that are less careful, for example:
|
||||||
|
`HTML Tidy <http://infohound.net/tidy/>`_.
|
||||||
|
|
||||||
|
|
||||||
Insert inline Table of Contents
|
Insert inline Table of Contents
|
||||||
|
Loading…
x
Reference in New Issue
Block a user