stack logging fixed
tests added and regexp changed to jsoup html parser