Commits

Geoffrey Sneddon committed b63afee

Oddly we have to delete the tail before removing the node to avoid weird behaviour. *shrugs*.

Comments (0)

Files changed (1)

specGen/processes/sub.py

 				in_link = True
 				link = etree.Element("a")
 				link.text = node.tail
+				node.tail = None
 				node.addnext(link)
 				to_remove.add(node)