FS#44934 - Text isn't wrapped properly when inside a code listing table

Attached to Project: Community Packages
Opened by red solja (redsolja) - Monday, 11 May 2015, 14:09 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 11 May 2015, 15:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The AsciiDoc package includes the "volnitsky" and "flask" themes.

These versions (I don't know if there are newer ones) suffer from a bug that was reported back in 2013: https://groups.google.com/forum/#!topic/asciidoc/mHejFrekcwk

When you generate an html file with a command such as:
"asciidoc -a data-uri -a icons -a toc2 -a theme=volnitsky -a max-width=55em whatever.txt"
code listings that are long without changing a line, overflow the code listing borders.

If the same html file is generated without the "-a theme=volnitsky" parameter:
"asciidoc -a data-uri -a icons -a toc2 -a max-width=55em whatever.txt"
the problem does not show because the volnitsky and flask css files aren't updated to include the asciidoc.css patch that should read:

"white-space: pre-wrap;" at line 80

So in essence, adding the "white-space: pre-wrap;" at line 80 at both the flask.css and volnitsky.css fixes the bug.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 11 May 2015, 15:06 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#44935 
Comment by Doug Newgard (Scimmia) - Monday, 11 May 2015, 15:06 GMT
Please don't make duplicates. We can change the title and you can attach a file in the comments.

Loading...