properly fix leakage of Haddock comment syntax (see #1091, test: read044)