From: Brion Vibber Date: Wed, 3 May 2006 00:24:53 +0000 (+0000) Subject: Parser test cases for bug 5497 X-Git-Tag: 1.31.0-rc.0~57262 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=88adfad241abaa49f1da9c34edcfcb8b4bd2a274;p=lhc%2Fweb%2Fwiklou.git Parser test cases for bug 5497 --- diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index 4d05607890..cc1eeb69c4 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -3787,6 +3787,172 @@ Self closed html pairs (bug 5487) !! end +# +# +# + +!! test +HTML bullet list, closed tags (bug 5497) +!! input + +!! result + + +!! end + +!! test +HTML bullet list, unclosed tags (bug 5497) +!! input + +!! result + + +!! end + +!! test +HTML ordered list, closed tags (bug 5497) +!! input +
    +
  1. One
  2. +
  3. Two
  4. +
+!! result +
    +
  1. One
  2. +
  3. Two
  4. +
+ +!! end + +!! test +HTML ordered list, unclosed tags (bug 5497) +!! input +
    +
  1. One +
  2. Two +
+!! result +
    +
  1. One +
  2. Two +
+ +!! end + +!! test +HTML nested bullet list, closed tags (bug 5497) +!! input + +!! result + + +!! end + +!! test +HTML nested bullet list, open tags (bug 5497) +!! input + +!! result + + +!! end + +!! test +HTML nested ordered list, closed tags (bug 5497) +!! input +
    +
  1. One
  2. +
  3. Two: +
      +
    1. Sub-one
    2. +
    3. Sub-two
    4. +
    +
  4. +
+!! result +
    +
  1. One
  2. +
  3. Two: +
      +
    1. Sub-one
    2. +
    3. Sub-two
    4. +
    +
  4. +
+ +!! end + +!! test +HTML nested ordered list, open tags (bug 5497) +!! input +
    +
  1. One +
  2. Two: +
      +
    1. Sub-one +
    2. Sub-two +
    +
  3. +
+!! result +
    +
  1. One +
  2. Two: +
      +
    1. Sub-one +
    2. Sub-two +
    +
+ +!! end + +# +# +# + TODO: more images more tables