Why doesn't javascript newlines work inside html?

后端 未结 13 2627
梦谈多话
梦谈多话 2020-12-06 12:08

So I have the following:


  
    
  
<         


        
13条回答
  •  天涯浪人
    2020-12-06 13:00

    Whitespace emitted by JavaScript works like any other whitespace in your HTML file. That seems the expected behavior to me.

提交回复
热议问题