Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
p:unescape-markup uses the concept of a document element, but as we switched to XDM a document-node now can have multiple element children.
@gimsieke commented on this:
The specs say on "p:unescape-markup": No document properties are preserved.
(1) I find it difficult to understand why: One might understand this as a special kind of "p:insert" and p:insert preserves all document properties.
(2) p:unescape-markup is explained as inverse to p:escape-markup: As the latter preserves document properties I would expect this for the former.
Is this an oversight or is there some reason I failed to see?