DSpace/DSpace — pull request #536 by KevinVdV (2014-05-15 14:04:58+00:00)
Title: [DS-2005] Discovery hit highlighting issue with abstracts/fulltext

When the metadata contains the \r character and the metadata field set to hit highlighting uses the maxSize property the highlighting will not work.

The fix I created is the same as on line 613, this appears to have been forgotten when the maxSize attribute is used.