如何在元素中创建新行?
我做:
$currentTrack->appendChild($domtree->createElement('code', ' test1; test2; test3;'));
但是,它添加 到每行的末尾。我该如何摆脱呢?