Defect #34283
openText in code / preformatted blocks renders incorrrectly in Issue List
0%
Description
Code / preformatted text within (for example) the Description renders correctly on the Issue Detail screen, but not when the Description field is displayed on the Issue list screen. Problem occurs with both Markdown & Textile on both my own test installation as well as Redmine.org.
For example the following will be incorrectly displayed in the Issue List on one line:
line 1 Indented line 2 Further indented line 3 Indented line 4 Line 5
And the following code block from the Redmine Textile Guide will display each word of code on its own line:
# The Greeter class - Ruby
class Greeter
def initialize(name)
@name = name.capitalize
end
def salute
puts "Hello #{@name}!"
end
end
A screenshot of how it renders in my Issue List is attached. The first example looks like a CSS problem. This is using Textile and the Default theme.
My Environment:
Redmine version 4.1.1.stable
Ruby version 2.5.1-p57 (2018-03-29) [x86_64-linux-gnu]
Rails version 5.2.4.2
Environment production
Database adapter PostgreSQL
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Mercurial 4.5.3
Git 2.17.1
Filesystem
Redmine plugins:
redmine_env_auth 1.1
redmine_language_change 0.1.0
redmine_wiki_lists 0.0.9
Files