strip html whitespace for comparison