How do I remove invisible “  ” which has been automatically added to code

前端 未结 2 1319
死守一世寂寞
死守一世寂寞 2021-01-27 09:39

I am developing a mobile website in JQuery Mobile and I am fining that at seemingly \'random\' points, the web browser is adding in:

\"  &         


        
2条回答
  •  耶瑟儿~
    2021-01-27 10:29

    This problem occurs when you copy and paste the source code from some website. In this way you copy invisible blank spaces which are further converted/rendered as   in the browser.

    You need to manually remove the spaces between the tags and elements. Please do the indentation by yourself. It should work :)

提交回复
热议问题