Don't memset() from the current item to end-of-line when setting highlight attributes. End-of-item will do just fine, and now we get 31kB worth of memset() instead of 260MB when inserting one character in the osnews.com HTML source. CCBUG: 128690
Changed paths: