Revert attempt at making a hidden title

This directive was to remove the initial title from the nest block
pull/88/head
Anthony Johnson 8 years ago
parent 76c458f85f
commit 2bff9e45b7

@ -28,8 +28,7 @@ class NestedParse(Directive):
try:
title_node = node[0][0]
if isinstance(title_node, nodes.title):
if isinstance(title_node[0], nodes.Text):
del node[0][0][0]
del node[0][0]
except IndexError:
pass
return [node]

Loading…
Cancel
Save