Project

General

Profile

Actions

Defect #11056

closed

text color syntax not working

Added by Amrish Bharatiya almost 12 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
Due date:
2013-03-24
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

I am not able to apply text color styles to my wiki pages as shown below:

Screenshot of test wiki page
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!

Screenshot of formatter.rb

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

code.PNG (5.86 KB) code.PNG Screenshot of formatter.rb Amrish Bharatiya, 2012-05-30 16:40
wiki.PNG (4.89 KB) wiki.PNG Screenshot of test wiki page Amrish Bharatiya, 2012-05-30 16:40
Actions #1

Updated by Jean-Philippe Lang almost 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

Actions #2

Updated by Amrish Bharatiya almost 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.

Actions #3

Updated by Keats . over 11 years ago

  • Status changed from Closed to Reopened

it's not working with 2.0.3 at least

Actions #4

Updated by Dipan Mehta about 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.

Actions #5

Updated by Daniel Felix about 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.

Actions #6

Updated by Etienne Massip about 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).

Actions #7

Updated by Dipan Mehta about 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.

Actions #8

Updated by Etienne Massip about 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.

Actions

Also available in: Atom PDF