parse function html proper handle multiple functions in same line