summaryrefslogtreecommitdiff
path: root/modules/field
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-07-27 20:15:35 +0000
committerDries Buytaert <dries@buytaert.net>2009-07-27 20:15:35 +0000
commit93728e5d325371f6ec92213a6207a6bfddfc261b (patch)
tree43286a1ab97fab36e84db888a79e279cf037e725 /modules/field
parent5468b47b91ee040b35d30f7d8a79c66fba51531d (diff)
downloadbrdo-93728e5d325371f6ec92213a6207a6bfddfc261b.tar.gz
brdo-93728e5d325371f6ec92213a6207a6bfddfc261b.tar.bz2
- Patch #374441 by tic200, Damien Tournoud, scor: refactor Drupal HTML corrector using PHP5's XML/Dom parser.
Diffstat (limited to 'modules/field')
-rw-r--r--modules/field/modules/text/text.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/field/modules/text/text.test b/modules/field/modules/text/text.test
index ae8a0a06a..db7c96c7c 100644
--- a/modules/field/modules/text/text.test
+++ b/modules/field/modules/text/text.test
@@ -286,12 +286,12 @@ class TextSummaryTestCase extends DrupalWebTestCase {
// And using a text format WITH the line-break and htmlcorrector filters.
$expected_lb = array(
"<p>\nHi\n</p>\n<p>\nfolks\n<br />\n!\n</p>",
- "<",
- "<p",
- "<p></p>",
- "<p></p>",
- "<p></p>",
- "<p></p>",
+ "",
+ "<p />",
+ "<p />",
+ "<p />",
+ "<p />",
+ "<p />",
"<p>\nHi</p>",
"<p>\nHi</p>",
"<p>\nHi</p>",