在字符串中插入换行符的正确语法是什么?我试过 '\n' 但这不起作用...?这是有问题的字符串:
function layer0(){
document.getElementById('layerinfo').innerHTML = 'The Wembury Quest ran during June 2012 and was very popular in the parish. Over 400 quest packs were collected from the village school post office and local shops. The Quest was designed to encourage residents to go out into the parish and explore their local landscape. This layer shows the results from the letterboxes. For the letterboxes twelve locations were chosen, spread around the parish. They were picked to take participants to very different types of landscape and views. Some of them were places which they had visited before, and some were off the beaten track and were new to some Questers. All of the locations were found on public rights of way.';