ezsystems/ezpublish-legacy — pull request #591 by dougplant (2013-04-05 00:23:07+00:00)
Title: fix bug when ampersand is last char on line

when the string being checked for numerical entities has an ampersand at the end of the string, the original code throws a warning because it checks the next character, past the end of the line