You need to activate the html
class for the literal
tag.
settings/content.ini
[literal]
AvailableClasses[]
# The class 'html' is disabled by default because it gives editors the
# possibility to insert html and javascript code in XML blocks.
# Don't enable the 'html' class unless you really trust all users who has
# privileges to edit objects containing XML blocks.
#AvailableClasses[]=html
CustomAttributes[]
=> reproduce the following in your admin & front siteaccesses
settings/siteaccess/youradminsiteaccess/content.ini.append.php
and settings/siteaccess/yourfrontsiteaccess/content.ini.append.php
[literal]
AvailableClasses[]=html
Once done, you'll be able to choose the html
class.
That said, enabling this feature suggests that contributors are aware of and concerned by possible security issues such as XSS. This should never be enabled for anonymous users (when you let them create comment objects with rich text fields for instance).