From: Platonides Date: Wed, 13 Apr 2011 23:19:27 +0000 (+0000) Subject: Follow up r85922 moving the to another line, fixing one of the tests added... X-Git-Tag: 1.31.0-rc.0~30863 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=887f4eff8200b93e8fed602f955cf036de067f95;p=lhc%2Fweb%2Fwiklou.git Follow up r85922 moving the to another line, fixing one of the tests added in r86004. --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 4ad1a52162..d6fac6892b 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -1030,7 +1030,7 @@ class Parser { $return .= isset( $table['caption']['attributes'] ) ? $table['caption']['attributes'] : ''; $return .= '>'; $return .= $table['caption']['content']; - $return .= ''; + $return .= "\n"; } $lastSection = ''; $empty = true; diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 5824b2fed9..b8ca26a689 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -1237,7 +1237,8 @@ A table with nothing but a caption |} !! result - +
captioncaption +
@@ -1290,7 +1291,8 @@ Multiplication table |} !! result - + @@ -1434,7 +1436,8 @@ A table with a caption with unclosed italic |} !! result
Multiplication tableMultiplication table +
×
- +
captioncaption +
Cell