[FIXED JENKINS-20928] l:breakable mishandles HTML metacharacters

This prevents breaking inside html entity.

Used regexes are ugly and quite hard to get right. Here is an alternative https://github.com/olivergondza/jenkins/compare/master...breakable. It is a bit wordy but more correct and easier to maintain. @jglick?