Normalize whitespace in the arguments of <indexterm>

Peter Eisentraut <peter_e@gmx.net>

Commit: 9412606265c2774712e3f805798896734b32c7fd
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2011-04-24T22:25:43Z
Releases: 9.1.0
Normalize whitespace in the arguments of <indexterm>

Strip leading and trailing whitespace and replace interior whitespace
by a single space.  This avoids problems with the index generator
producing duplicate index entries for terms that differ only in
whitespace.

Commit dca30da3433c40b5f92f1704c496cda052decef9 actually fixed all the
indexterm elements that would cause this problem at the moment, but in
case it sneaks in again, we're set.

Files

PathChange+/−
doc/src/sgml/stylesheet.dsl modified +36 −0