mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
b27f6649da
commit
3315038ba1
@ -664,13 +664,10 @@ class Diff
|
||||
|
||||
/**
|
||||
* 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,
|
||||
* 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 object $cleaner Optional instance of a HTMLCleaner class to
|
||||
|
Loading…
Reference in New Issue
Block a user