From e63750688ba9c523d6278b564b19169762177301 Mon Sep 17 00:00:00 2001 From: Aaron O'Leary <aaron.oleary@gmail.com> Date: Sun, 21 Dec 2014 19:47:52 +0000 Subject: [PATCH] blockquote filter: clearer variable names --- tools/filters/blockquote2div.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/filters/blockquote2div.py b/tools/filters/blockquote2div.py index 9fc6166..c583e83 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) -- GitLab