use more generic regex to allow possible attributes in empty style tag
add unittests
add another unittest