allow percent symbols in custom block texts (fix #361)