===========================================================================
if you're modifying this, you probably should also take a look at StyleAttributeExtractorTruncated
===========================================================================