diff --git a/tools/filters/blockquote2div.py b/tools/filters/blockquote2div.py index 9fc61666b8a3fce01bf66396e429ed5dc6511b44..c583e83a49845e5687469455971f782aac380fb1 100755 --- a/tools/filters/blockquote2div.py +++ b/tools/filters/blockquote2div.py @@ -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)