Escape colon (:) in preprocess_ts_string