OSDN Git Service

Normalize whitespace in the arguments of <indexterm>
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 24 Apr 2011 22:12:16 +0000 (01:12 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 24 Apr 2011 22:25:43 +0000 (01:25 +0300)
commit9412606265c2774712e3f805798896734b32c7fd
tree90b352648f13f14cef32c568dd9f5f514e4cac5a
parente6a30a8c3c81a7a2949f852379d34a19dfc26a0d
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.
doc/src/sgml/stylesheet.dsl