[lib] move stripHtml to lib/funcs, it's used in 3 different plugins.