Project

General

Profile

Actions

Feature #2516

open

Allow word-wrapping in pre tags in Textile

Added by Ben Oakes over 15 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
Start date:
2009-01-15
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

I often copy and paste text that should be enclosed in pre tags for issues and wiki pages. Unfortunately, if the text is too long, a scroll bar appears on the pre region because of the overflow-x: auto; property. It would be nice to have the option of using pre with a special class to use the white-space: pre-wrap; property so that this can be avoided. I've attached a patch that would allow this when using HTML like pre class="wrap" in Textile. That is, if the author decides that word-wrapping is desirable when writing in Textile, they can choose it at their option.

Affected version: Redmine 0.8


Files

pre_wrap.patch (689 Bytes) pre_wrap.patch Ben Oakes, 2009-01-15 15:34
Actions

Also available in: Atom PDF