Re-indent and merge matches for static content