doc_parser changed layout saved fix, layout.dup to html instance variable