[ https://issues.apache.org/jira/browse/JSPWIKI-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17763367#comment-17763367 ]
Dirk Frederickx commented on JSPWIKI-1167: ------------------------------------------ Dietrich, Thx for highlighting the issue. Prettified code lines should not wrap around, to avoid mismatch with the line numbering. A fix will be pushed. You can correct this on your current jspwiki site by adding the following to the LeftMenu page : {code:language=css} %%add-css .prettyprint code { white-space: inherit; } /% {code} > prettify: line numbering is wrong with longer lines > --------------------------------------------------- > > Key: JSPWIKI-1167 > URL: https://issues.apache.org/jira/browse/JSPWIKI-1167 > Project: JSPWiki > Issue Type: Bug > Components: Templates and UI > Affects Versions: 2.11.0 > Reporter: Dietrich Schmidt > Assignee: Dirk Frederickx > Priority: Major > Attachments: jspwiki-Zeilennummern-im-Editor.png, > jspwiki-Zeilennummern.png > > > with %%prettify, line numbering is shown. With a line longer than textsize, > the line is split in two lines and the line numbering becomes wrong. > See Attachment. !langezeile.png! > It looks like attaching an image does not work. -- This message was sent by Atlassian Jira (v8.20.10#820010)