Segmentedlist, fixed character formatting within seg output.
Problem:: Seg content that contained bold/ital character
formatting was getting munged. Cause:: Existing code was running
trim.text() on Seg content; trim.text() is meant to be run only
on text nodes. Fix:: Removed call to trim.text() and replaced
with "apply templates and read resulting contents into a variable,
then run normalize-space() on that variable". That should work
OK, because Seg content model does not permit verbatim content or
any other block content as its child content.
Closes #
1447578. Thanks to Daniel Leidert for reporting.