remove the newlines when triple-clicking and copying H1 element on the system page

Bug: 1121763
Change-Id: I1cedb5fa0127168e737cc60dc3d3ea162f59ec49