Follow-up Comment #2, sr #109696 (project administration): > First, we want to wrap those verbatim elements at reasonable width --- if they aren't, long lines break rendering of whole item.
I do not think it is necessary to change the content except XSS filter before output. CSS has ammunition to handle overlong nasty strings for output not destroying the layout and preserving whitespace in code snippets: overflow-wrap: (former word-wrap:) see https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap white-space: overflow: (or overflow-x: overflow-y:) hyphens: example long word in a paragraph blabla x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 example long word in code snippet blabla x1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 I use currently word-wrap:anywhere; for the whole comment/item text/ and overflow:auto; for code section > Then, it's desirable to make this work with CSS-unaware browsers as well. ??? example? _______________________________________________________ Reply to this item at: <https://savannah.nongnu.org/support/?109696> _______________________________________________ Message sent via Savannah https://savannah.nongnu.org/