Split text parsing and rendering into two filters