Switch between visual and text view

Hi Guys ,

In 'page/post add' module , in content part , when you switch between visual and text views , it is changing my html code . I want to put HTML as it is given by designer . I tried many plugins , wpautop and other related plugins are working after saving content . But my issue is before saving post when we switches between different views . I dont want to change any code automatically here .