HTML cleanup control
From OpenCms Wiki
(Difference between revisions)
(Controlling content conversion when saving a file in the editor by the property "content-conversion") |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
When saving content in the Editor some content conversions are applied (by default). | When saving content in the Editor some content conversions are applied (by default). | ||
This is controlled by the property '''content-conversion''' which is set on the file being edited. | This is controlled by the property '''content-conversion''' which is set on the file being edited. |
Latest revision as of 20:45, 22 November 2010
When saving content in the Editor some content conversions are applied (by default). This is controlled by the property content-conversion which is set on the file being edited. This property may also be set on folders to control the content conversion for the whole subtree.
Values of the property content-conversion
- false : No conversion will be done. This may be helpful if you encounter unwanted behavior.
- true : Conversion is enabled without transformation, so html is pretty printed only.
- xhtml : Conversion from html to xhtml is enabled.
- cleanup : Cleanup of word like html tags is enabled.
Values may also be combined by seperating them by a semi-colon like: "cleanup;xhmtl".