Fix for broken in-document links which got scrambled during conversion. Upstream-commit: ad8db1aa22c2ee791ffc612e6b8dbd2b780f6070 Component: engine