parser test cases for bug 10309
This commit is contained in:
parent
9c7d392c56
commit
91ef29bfcb
1 changed files with 41 additions and 0 deletions
|
|
@ -5832,6 +5832,47 @@ section=1
|
|||
a
|
||||
!! end
|
||||
|
||||
|
||||
!! test
|
||||
Section extraction, <pre> around bogus header (bug 10309)
|
||||
!! options
|
||||
noxml section=2
|
||||
!! input
|
||||
== Section One ==
|
||||
<pre>
|
||||
=======
|
||||
</pre>
|
||||
|
||||
== Section Two ==
|
||||
stuff
|
||||
!! result
|
||||
== Section Two ==
|
||||
stuff
|
||||
!! end
|
||||
|
||||
!! test
|
||||
Section replacement, <pre> around bogus header (bug 10309)
|
||||
!! options
|
||||
noxml replace=2,"xxx"
|
||||
!! input
|
||||
== Section One ==
|
||||
<pre>
|
||||
=======
|
||||
</pre>
|
||||
|
||||
== Section Two ==
|
||||
stuff
|
||||
!! result
|
||||
== Section One ==
|
||||
<pre>
|
||||
=======
|
||||
</pre>
|
||||
|
||||
xxx
|
||||
!! end
|
||||
|
||||
|
||||
|
||||
!! test
|
||||
Handling of 
 in URLs
|
||||
!! input
|
||||
|
|
|
|||
Loading…
Reference in a new issue