parse function html add langauge support