HTML cleanup control

From OpenCms Wiki
Jump to: navigation, search

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".

Personal tools