first draft of html spell parser