Defect #11056
closedtext color syntax not working
0%
Description
I am not able to apply text color styles to my wiki pages as shown below:
I did search around for this problem and thought that setting self.filter_styles=false in formatter.rb would resolve it, as you can see form the image below, I have it set with no luck!
I am using bitnami virtual appliance with following version of application stack:
Environment: Redmine version 2.0.0.stable Ruby version 1.8.7 (x86_64-linux) Rails version 3.2.3 Environment production Database adapter MySQL Redmine plugins: no plugin installed
Is there anything else I am missing?
Thanks for your help!
Files
Updated by Jean-Philippe Lang over 12 years ago
- Status changed from New to Closed
- Resolution set to Invalid
With Redmine >= 1.4.0:
p{color:red}. this is red
displays:
this is red
Updated by Amrish Bharatiya over 12 years ago
Thanks for the quick response.
I was wondering if there is anything planned to allow formatting part of text withing a paragraph.
Updated by Keats . over 12 years ago
- Status changed from Closed to Reopened
it's not working with 2.0.3 at least
Updated by Dipan Mehta over 11 years ago
This actually works but with a peculiar behavior
some text p{color:red}. this is red
produces
some text
p{color:red}. this is red
(not red). But
some text p{color:red}. this is red
produces
some text
this is red
I don't know if this is expected behavior or I am missing something!
Dipan.
Updated by Daniel Felix over 11 years ago
- Due date set to 2013-03-24
- Status changed from Reopened to Needs feedback
Well this is a problem which applies on many wiki syntaxes.
The same with the code, ordered or unordered list or even with headings.
This is more likely a general textile problem.
Please give done feedback until next week. Otherwise this issue will be closed.
Updated by Etienne Massip over 11 years ago
- Status changed from Needs feedback to Closed
You need to put some space before the "p. ".
Every lonely line is a paragraph in Textile, if it is not a lonely line then it can't be a paragraph; using the "p. " simply allow you to adjust the paragraph style or set language (see http://redcloth.org/hobix.com/textile).
Updated by Dipan Mehta over 11 years ago
Understood!
But trust me - had this issue not been filed, I would have never come across that thing such as 'color' is even possible! The documentation is clearly lacking this and many similar things that I don't even know yet!
Dipan.
Updated by Etienne Massip over 11 years ago
Dipan Mehta wrote:
But trust me - had this issue not been filed, I would have never come across that thing such as 'color' is even possible! The documentation is clearly lacking this and many similar things that I don't even know yet!
As briefly described in online help, Redmine rely on Textile for text formatting; there are probably a lot of Textile formatting possibilities you (and I) don't even know they exist you might be interested in.