r12a said: I wonder whether the style guidelines need changing. Sometimes it's useful to be able to wrap the code as the window width shrinks, and this looks like one of those occasions.
xfq said: I think that is the usage recommended by the HTML Standard, but I don't have a strong preference, and we can also useCSS (white-space: pre-wrap;) to control it.
The following is being moved here from https://github.com/w3c/i18n-drafts/pull/461
xfq said: We should use
<pre><code>
according to https://www.w3.org/International/i18n-activity/guidelines/editing#syntax-highlightingr12a said: I wonder whether the style guidelines need changing. Sometimes it's useful to be able to wrap the code as the window width shrinks, and this looks like one of those occasions.
xfq said: I think that is the usage recommended by the HTML Standard, but I don't have a strong preference, and we can also use
CSS (white-space: pre-wrap;)
to control it.