Parser Test 1
This is a regression test to see if the parser handles spaces and LFs
correctly.
Simple text parsing
This line contains single spaces.
This line contains double spaces.
This
line
contains
single
LFs.
Parsing around tags
This line contains underlined text with no spaces inside the <U> tag.
This line contains underlined text with spaces inside the <U> tag.
This line contains
underlined text
with LFs inside the <U> tag.
Parsing inside <PRE>
This line contains single spaces.
This line contains double spaces.
This
line
contains
single
LFs.
Parsing around tags inside <PRE>
This line contains underlined text with no spaces inside the <U> tag.
This line contains underlined text with spaces inside the <U> tag.
This line contains
underlined text
with LFs inside the <U> tag.
Parsing <PRE> followed by LFs
The PRE-blocks are seperated by a <HR> (horizontal rule) tag
This is the first single line with no LFs
This is the second single line within a single pair of LFs
This is the third single line within a double pair of LFs
This is the forth single line within a triple pair of LFs
Now follows a PRE section with 1 empty line.
Now follows a PRE section with 2 empty lines.
Tab's and spaces inside <PRE>
The position of the numbers should be equal to
the value of the numbers. TAB1 should be left aligned with the number 9.
TAB2 should be left aligned with the number 17.
1
2
3
4
5
6
7
8
9
17
TAB1 TAB2
1 TAB1 TAB2
2 TAB1 TAB2
3 TAB1 TAB2
4 TAB1 TAB2
5 TAB1 TAB2
6 TAB1 TAB2
7 TAB1 TAB2
8 TAB2
1 TAB2
2 TAB2
3 TAB2
4 TAB2
5 TAB2
6 TAB2
7 TAB2
8 TAB2
1 TAB1 TAB2
2 TAB1 TAB2
3 TAB1 TAB2
4 TAB1 TAB2
5 TAB1 TAB2
6 TAB1 TAB2
7 TAB1 TAB2
8 TAB2
1 TAB2
2 TAB2
3 TAB2
4 TAB2
5 TAB2
6 TAB2
7 TAB2
8 TAB2
The broken tag section
On the next line follows a < without a tagname directly following
it should be displayed as text: <
On the next line follows a < with a space following
it should be displayed as text: < with a space following.
On the next line follows a > with a space following
it should be displayed as text: > with a space following.
On the next line follows <>
it should be displayed as text: <>
On the next line follows </>
it should be displayed as text: >
On the next line follows a </ without a tagname directly following
it should be displayed as text:
On the next line follows a </ with a space following
it should be displayed as text: with a space following.
On the next line a not properly terminated start-tag is closed only by the next tag
This should be shown again.
On the next line a not properly terminated end-tag is closed only by the next tag
This should be shown again.
Unknown tags
Unknown tags should be ignored.
The next line should read "This is good."
This is good
The next line should read "This is good." but should not be bold.
This is good
The next line should read "This is good." and should not be in a table.
This is good