Fix for broken in-document links which got scrambled during conversion.

Docker-DCO-1.1-Signed-off-by: O.S. Tezer <ostezer@gmail.com> (github: ostezer)
Merge pull request #5261 from ostezer/fix-inline-links

Fix for broken in-document links which got scrambled during conversion.