Parser Test 4
This is a regression test to see if entities inserted within the regular flow of text are handled correctly.
Ampersands added in the text flow.
The following texts are placed into a table to force line-breaks.
This is a test with a & b and an ampersand in
between surrounded by spaces.
|
This is a test with a & b and an ampersand in
between surrounded by spaces.
|
This is a test with a & b and an ampersand in
between surrounded by spaces.
|
This is a test with a&b and an ampersand in
between without any spaces.
|
This is a test with a&b and an ampersand in
between without any spaces.
|
This is a test with a&b and an ampersand in
between without any spaces.
|
Plus-minus added in the text flow.
The following texts are placed into a table to force line-breaks.
This is a test with a ± b and a plus-minus sign in
between surrounded by spaces.
|
This is a test with a ± b and a plus-minus sign in
between surrounded by spaces.
|
This is a test with a ± b and a plus-minus sign in
between surrounded by spaces.
|
This is a test with a±b and a plus-minus sign in
between without any spaces.
|
This is a test with a±b and a plus-minus sign in
between without any spaces.
|
This is a test with a±b and a plus-minus sign in
between without any spaces.
|
Tests with ';' added to the entities.
This is normal text. Now follow three ampersands &&& surrounded by spaces.
This is normal text. Now follow three ampersands&&¬ surrounded by spaces.
This is normal text. Now follow three A-umlauts ÄÄÄ surrounded by spaces.
This is normal text. Now follow three A-umlautsÄÄÄnot surrounded by spaces.
This is preformatted text.
Now follow three ampersands &&& surrounded by spaces.
This is preformatted text.
Now follow three ampersands&&¬ surrounded by spaces.
This is preformatted text.
Now follow three A-umlauts ÄÄÄ surrounded by spaces.
This is preformatted text.
Now follow three A-umlautsÄÄÄnot surrounded by spaces.
Tests without ';' added to the entities.
This is normal text. Now follow three ampersands &&& surrounded by spaces.
This is normal text. Now follow three ampersands&&&not surrounded by spaces.
This is normal text. Now follow three A-umlauts ÄÄÄ surrounded by spaces.
This is normal text. Now follow three A-umlautsÄÄÄnot surrounded by spaces.
This is preformatted text.
Now follow three ampersands &&& surrounded by spaces.
This is preformatted text.
Now follow three ampersands&&&not surrounded by spaces.
This is preformatted text.
Now follow three A-umlauts ÄÄÄ surrounded by spaces.
This is preformatted text.
Now follow three A-umlautsÄÄÄnot surrounded by spaces.
Tests with entities, spaces and tabs inside <PRE>
3 7 1 5 9 3 7 1 5
1 5 9 1 1 2 2 2 3 3 3 3
T T T T T
Bold TAB <B>Bold</B>
& TAB &amp
& TAB &#38
Ä(Auml) TAB Ä(Auml)
Ä(#196) TAB Ä(#196)
&foo TAB &foo
&foo; TAB &foo;
&f TAB &f
&f; TAB &f;
& TAB &
&; TAB &;