Commit Graph

5 Commits

Author SHA1 Message Date
Ingo Schommer
57d5f4e6eb REVERT: r97017 (Try to tidy HTML...) as causes inconsistent HTML (from r97384)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102446 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 05:02:51 +00:00
Ingo Schommer
5e4210755b FEATURE: Try to tidy HTML using external libraries if available (from r97017)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102419 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 03:31:19 +00:00
Andrew Short
77dc826278 BUGFIX: Suppressed errors in SS_HTMLValue->setContent() so it can handle malformed HTML.
MINOR: Added tests for saving and managing invalid HTML with SS_HTMLValue.

From: Andrew Short <andrewjshort@gmail.com>

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88773 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-13 01:44:41 +00:00
Geoff Munn
64612f2070 BUG FIX: error messages suppressed as a temporary fix
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88752 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-13 00:35:58 +00:00
Andrew Short
9b4d9993a4 FEATURE: Added SS_HTMLValue to provide a simple wrapper around DOMDocument to allow the manipulation of HTML snippets.
FEATURE: Re-instated broken link highlighting by manually checking all shortcodes in HtmlEditorField->Field(), and adding a class to broken ones.

From: Andrew Short <andrewjshort@gmail.com>

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88510 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-11 00:07:27 +00:00