replace bootstrap.inc's arg function and fix double html escaping