refactoring
fixed bug with manual HTML containing tags
fixed manual HTML bug not unindenting spaces
added test