TestPreformat in split format
This page tests preformat blocks, which are blocks of text on a page that
are intended to be displayed exactly as shown in the raw data.
|
This page tests preformat blocks, which are blocks of text on a page that
are intended to be displayed exactly as shown in the raw data.
|
|
{{TableOfContents}}
|
|
= Regular preformat block =
Regular HTML formatting here.
|
This is the test block:
{'{{
This should be in preformat
with indents and all
here
is
a
staircase
of
indents
}'}}
----
Here is the result:
{{{
This should be in preformat
with indents and all
here
is
a
staircase
of
indents
}}}
|
This is the test block:
{{HTML(<pre>)}}
{''''{{
This should be in preformat
with indents and all
here
is
a
staircase
of
indents
}''''}}
{{HTML(</pre>)}}
----
Here is the result:
{{{
This should be in preformat
with indents and all
here
is
a
staircase
of
indents
}}}
|
|
= preformat block with text on first line =
More regular HTML formatting.
|
Here is the test block:
{'Error: macro 'preformat on same line as start,
with another line internally
}''''' not found
----
Here is the result:
{{{preformat on same line as start,
with another line internally
}}}
|
Here is the test block:
{{HTML(<pre>)}}
{''''{{preformat on same line as start,
with another line internally
}''''}}
{{HTML(</pre>)}}
----
Here is the result:
{{{preformat on same line as start,
with another line internally
}}}
|
|
= preformat block with internal blank lines =
|
this is a line
|
{{{
this is a line
|
this is after a blank line
I'm not sure what the 'split' action will do with this!!
}}}
|
this is after a blank line
I'm not sure what the 'split' action will do with this!!
}}}
|
|
== BUG - missing blank line in preformat block ==
|