Skip to content

Commit

Permalink
update if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
dojutsu-user committed Jan 18, 2019
1 parent 819e5c8 commit 5d5c2ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/doc_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def feature_flags_role(typ, rawtext, text, lineno, inliner, options=None,
all_features = Feature.FEATURES
requested_feature = utils.unescape(text)
for feature in all_features:
if text.lower() == feature[0].lower():
if requested_feature.lower() == feature[0].lower():
desc = nodes.Text(feature[1], feature[1])
return [desc], []

Expand Down

0 comments on commit 5d5c2ff

Please sign in to comment.