fixed inline html parsing