treat hashtags and fancy quotes as clause delimiters; add trigrams; HTML-escape single quotes in add/remove filter JS