\documentclass[full]{l3doc}

\title{An \pkg{l3doc} bug}
\author{Joel C. Salomon}

\begin{document}
\maketitle

\begin{documentation}
Normally, this will not have italic correction, but here it does; why?

|    \textit{half}. | \textit{half}.

Compare:

|{\itshape half\/}. | {\itshape half\/}. (wrong; but what |\textit| produces)

|  {\itshape half}. | {\itshape half}. (right; and what |\textit| does
everywhere else)

\end{documentation}

\end{document}