Use filter_xss instead of check_plain.