Slightly improved formatting of COS on the HTML rendering