Fix html copy