MINOR: Fix documentation for Diff::cleanHTML (from r98477)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105864 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-05-28 02:38:27 +00:00
parent b27f6649da
commit 3315038ba1

View File

@ -664,13 +664,10 @@ class Diff
/** /**
* Attempt to clean invalid HTML, which messes up diffs. * Attempt to clean invalid HTML, which messes up diffs.
* This checks for various methods and cleans code if possible. * This cleans code if possible, using an instance of HTMLCleaner
* *
* NB: By default, only extremely simple tidying is performed, * NB: By default, only extremely simple tidying is performed,
* by passing through DomDocument::loadHTML and saveXML * by passing through DomDocument::loadHTML and saveXML
* You will either need to install the php_tidy module
* See: http://www.php.net/manual/en/tidy.installation.php
* See also: http://htmlpurifier.org
* *
* @param string $content HTML content * @param string $content HTML content
* @param object $cleaner Optional instance of a HTMLCleaner class to * @param object $cleaner Optional instance of a HTMLCleaner class to