index: be extra careful to escape space in order to avoid uncollapsed space with white-space:pre
Merge pull request #491 from ailin-nemui/escape-whitespace

index: be extra careful to escape space in order to avoid uncollapsed space with white-space:pre