Somewhat hackish fix for xing github defect 142 regarding spurious linebreaks added to text end, to satisfy SITE-944

Somewhat hackish fix for xing github defect 142 regarding spurious linebreaks added to text end, to satisfy SITE-944.

In separate file in /dist/, should be harmless for merge