edits a snippet
simplifying html code, later intervention required