[ 
https://issues.apache.org/jira/browse/JSPWIKI-1165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17763345#comment-17763345
 ] 

Dirk Frederickx commented on JSPWIKI-1165:
------------------------------------------

Dietrich,

Indeed, you are correct.
The issue actual only occurs when adding preformatted INLINE text. (with 2 "{" 
curly braces )
(I was only looking at the reformatted BLOCK text with 3 "{" curly braced ,  
which does show a scrollbar)

An update to the css is needed for this.
It will make sure that inline preformatted text will wrap as necessary, and 
stay within the width of the line boxes.

Temporary you can fix the issue on your existing jspwiki site by adding the 
following snippet to your LeftMenu wikipage :
{code:css}
    %%add-css
    tt { white-space:pre-wrap;}
    /%
{code}

KR
dirk





> long text in monospace font inside {{}} is shown without scroll bar
> -------------------------------------------------------------------
>
>                 Key: JSPWIKI-1165
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1165
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Templates and UI
>    Affects Versions: 2.11.0
>         Environment: {color:#172b4d}Tested under Windows with tomcat 9.0.55 
> and Fedora Linux with Wildfly 21.{color}
>            Reporter: Dietrich Schmidt
>            Assignee: Dirk Frederickx
>            Priority: Major
>         Attachments: Screenshot 2023-08-28 at 21.16.53.png, 
> jspwiki-Anzeige.png, jspwiki-bearbeiten.png
>
>
> A long text inside \{ { ... } } is neither broken in several lines nor a 
> horizontal scroll bar is displayed.
> Thus parts of the text are not visible.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to