Fix inline colour filter by applying to text nodes only

this requires traversing the line's DOM and manipulating things there
Merge pull request #492 from glowing-bear/fix-filters

Fix inline colour filter by applying to text nodes only