HomePhabricator

Retain attributes when reopening closed nodes

Description

Retain attributes when reopening closed nodes

  • Push entire elements onto openingStack rather than type strings
  • When closing an element, build a clone of the opening and push it onto closedElements, then insert that clone when reopening the element

Change-Id: I8b0fb44394aed6c471dc6dacaab03e44c2333733