Pretty-print conref XSLT before refactoring
Fix topichead with chunk and copy-to #1529