Commits

Geoffrey Sneddon  committed 10e6f1b

Fix the test case added in the previous commit, and break a couple more (by whitespace not being preserved).

  • Participants
  • Parent commits 6771bac

Comments (0)

Files changed (1)

File specGen/processes/toc.py

 					self.indentNode(node.getprevious(), 0, **kwargs)
 					node.addprevious(etree.Comment("end-toc"))
 					self.indentNode(node.getprevious(), 0, **kwargs)
+					node.getprevious().tail = node.tail
 					to_remove.add(node)
 		for node in to_remove:
 			node.getparent().remove(node)