Project

General

Profile

Actions

Defect #32770

open

Text formating on Redmine Home page does not work

Added by Sebastian Paluch almost 5 years ago. Updated over 4 years ago.

Status:
Needs feedback
Priority:
Normal
Assignee:
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

On Home page following text formatting is not working anymore (was working in 3.4.4)

something *%{color:red}something%* something...

It gets displayed as plain text.
This still works in other places e.g. project overview.

Environment:
  Redmine version                4.1.0.stable
  Ruby version                   2.5.7-p206 (2019-10-01) [x64-mingw32]
  Rails version                  5.2.4.1
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
SCM:
  Subversion                     1.11.1
  Git                            2.19.1
  Filesystem                     
Redmine plugins:
  no plugin installed

Files

home.png (186 KB) home.png Marius BĂLTEANU, 2020-01-12 20:38
3.4.12.png (19.5 KB) 3.4.12.png Marius BĂLTEANU, 2020-01-13 22:07
trunk.png (24.7 KB) trunk.png Marius BĂLTEANU, 2020-01-13 22:10
new_text.png (20 KB) new_text.png Marius BĂLTEANU, 2020-01-13 22:13
Actions #1

Updated by Marius BĂLTEANU almost 5 years ago

  • File home.png home.png added
  • Status changed from New to Needs feedback
  • Assignee set to Sebastian Paluch

Where did you input that text?

In Home page, I tried 2 scenarios:
1. Set as "Welcome text" and it works.
2. Set as News summary and it doesn't work.

It will be helpful to provide the steps to reproduce the problem.

Actions #2

Updated by Sebastian Paluch almost 5 years ago

Sorry, I was not precise in this issue.

The exact text entered in "Welcome text" is:

Jump to "*%{color:red}Redmine help project%*":/redmine/projects/redmineusers/wiki and follow the guides...

This results with following text being displayed on the Home page:
Jump to *%{color:red}Redmine help project%* and follow the guides...

It seems that the link makes the difference.

Actions #3

Updated by Marius BĂLTEANU almost 5 years ago

Indeed, in Redmine 3.4.12, the following text

Jump to "*%{color:red}Redmine help project%*":/redmine/projects/redmineusers/wiki and follow the guides...

is rendered as:

where "Redmine help project" links to "redmine/projects/redmineusers/wiki".

In current trunk, the same text is rendered as:

but if you change the text to

Jump to *"{color:red}Redmine help project":/redmine/projects/redmineusers/wiki* and follow the guides

or
Jump to *%"{color:red}Redmine help project%*":/redmine/projects/redmineusers/wiki and follow the guides...

then is rendered as expected:

I'm not sure why the old format doesn't work anymore, but I've added Go Maeda as watcher, he knows better the Textile formatting.

Actions #4

Updated by Marius BĂLTEANU over 4 years ago

  • Assignee changed from Sebastian Paluch to Go MAEDA

Go Maeda, do you have any clue about this issue?

Actions

Also available in: Atom PDF