Skip to content
Snippets Groups Projects
Commit e6375068 authored by Aaron O'Leary's avatar Aaron O'Leary
Browse files

blockquote filter: clearer variable names

parent f681da2c
Branches
Tags
No related merge requests found
......@@ -104,9 +104,9 @@ def blockquote2div(key, value, format, meta):
id, classes, kvs = attr
ltitle = pf.stringify(inlines).lower()
if ltitle in SPECIAL_TITLES:
classes.append(SPECIAL_TITLES[ltitle])
lowercase_title = pf.stringify(inlines).lower()
if lowercase_title in SPECIAL_TITLES:
classes.append(SPECIAL_TITLES[lowercase_title])
if len(classes) == 1 and classes[0] in SPECIAL_CLASSES:
remove_attributes(blockquote)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment