Browse files

Fixed id generation.

  • Loading branch information...
1 parent 73e148e commit 3bdcee8e94d1e005f3c9f25da55e87348d35d548 @jessedhillon committed Feb 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mdx_sections/__init__.py
View
2 mdx_sections/__init__.py
@@ -78,7 +78,7 @@ def process_nodes(self, node):
node.remove(n)
if 'id' in n.attrib:
- section.attrib['id'] = 'section_' + n.attrib['id']
+ section.attrib['id'] = n.attrib['id']
del n.attrib['id']
n.attrib['class'] = self.heading_cls

0 comments on commit 3bdcee8

Please sign in to comment.