# Why does pdfcomment gobble space between words?

With the following the space between "one" and "two" is gobbled.

\documentclass{article}
\usepackage{pdfcomment}
\begin{document}
one \pdfcomment{comment}two
\end{document}


Why is that? Is it a bug or have I misunderstood the usage?

• Switch the position of the spaces – egreg Sep 16 '16 at 13:36

This is a deliberate decision: there is an \unskip in the code which is active unless you do
\documentclass{article}

With no option or version = 2 (i.e. the current code), the package author has defined the semantics here to be that the comment should directly attach to the preceding text.