Settings¶
This is a comprehensive list of all the settings Django-precise-bbcode provides. All settings are optional.
Parser settings¶
BBCODE_ESCAPE_HTML
¶
Default:
(
('&', '&'),
('<', '<'),
('>', '>'),
('"', '"'),
('\'', '''),
)
The list of all characters that must be escaped before rendering.
BBCODE_DISABLE_BUILTIN_TAGS
¶
Default: False
The flag indicating whether the built-in BBCode tags should be disabled or not.
BBCODE_ALLOW_CUSTOM_TAGS
¶
Default: True
The flag indicating whether the custom BBCode tags (those defined by the end users through the Django admin) are allowed.
BBCODE_NORMALIZE_NEWLINES
¶
Default: True
The flag indicating whether the newlines are normalized (if this is the case all newlines are replaced with \r\n
).