support for autogenerated IDs, proper generation of " insted of ' in html elements