convert preprocess functions from faq.hide_answer.inc