How to format an XML string with line breaks using Javascript?

前端 未结 0 1762
萌比男神i
萌比男神i 2021-01-03 14:58

What I\'m trying is to add line breaks to a string variable which represents an XML file, so that the variable will look like a formatted XML file.

// This re         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题