more strict rules for italic emphasis to avoid file name clashes

this additional check avoids /root/.hiddendir from italicising /root/,
because that is often used in path names
Merge branch 'italics-exception' into test