ibexa

Path

ez publish / technical manual / 3.7 / reference / datatypes / xml block / unformatted text


Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

Unformatted text

The "literal" tag can be used to output unformatted text, for example program source code, HTML code, XML content, etc. Everything that is inside an a literal block will be rendered in the same way (character by character) as it is within the literal tags (the text will be output using the HTML PRE tags). The optional "class" parameter allows the use of a desired CSS class. Usage:

<literal [class=""]>Example<\literal>

Please note that in the example above, the slash is in the wrong way within the tag that terminates the literal block. This was done in order to make the tag appear on the documentation page (since we're using literal tags to make code blocks). In other words, it should be terminated with a frontslash instead of a backslash.

Balazs Halasy (10/03/2005 11:46 am)

Balazs Halasy (28/04/2005 2:32 pm)


Comments

There are no comments.