Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

fix bug 856593 - Add title attribute #981

Merged
merged 1 commit into from Apr 3, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/wiki/models.py
Expand Up @@ -94,7 +94,7 @@
'dir']) 'dir'])
for x in for x in
('h1', 'h2', 'h3', 'h4', 'h5', 'h6'))) ('h1', 'h2', 'h3', 'h4', 'h5', 'h6')))
ALLOWED_ATTRIBUTES.update(dict((x, ['style', 'class', 'id', 'lang', 'dir']) ALLOWED_ATTRIBUTES.update(dict((x, ['style', 'class', 'id', 'lang', 'dir', 'title'])
for x in ( for x in (
'div', 'pre', 'ul', 'li', 'code', 'dl', 'dt', 'dd', 'div', 'pre', 'ul', 'li', 'code', 'dl', 'dt', 'dd',
'section', 'header', 'footer', 'nav', 'article', 'aside', 'figure', 'section', 'header', 'footer', 'nav', 'article', 'aside', 'figure',
Expand Down