Skip to content
Permalink
Browse files

Style fix

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Dec 21, 2015
1 parent 34611cb commit ac5d468dd533a451661e9d6325a8e64ac36bb04d
Showing with 3 additions and 3 deletions.
  1. +3 −3 nikola/utils.py
@@ -1294,9 +1294,9 @@ def demote_headers(doc, level=1):
r = range(1 + level, 7)
for i in reversed(r):
# html headers go to 6, so we can’t “lower” beneath five
elements = doc.xpath('//h' + str(i))
for e in elements:
e.tag = 'h' + str(i + level)
elements = doc.xpath('//h' + str(i))
for e in elements:
e.tag = 'h' + str(i + level)


def get_root_dir():

0 comments on commit ac5d468

Please sign in to comment.
You can’t perform that action at this time.