Fix inline colour filter by applying to text nodes only

this requires traversing the line's DOM and manipulating things there