[BF] fxied if else bug in code2html funtion