Defect #32770

Text formating on Redmine Home page does not work

Added by Sebastian Paluch 8 months ago. Updated 5 months ago.

Status:Needs feedbackStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Text formatting
Target version:-
Resolution: Affected version:4.1.0

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

home.png (186 KB) Marius BALTEANU, 2020-01-12 20:38

3.4.12.png (19.5 KB) Marius BALTEANU, 2020-01-13 22:07

trunk.png (24.7 KB) Marius BALTEANU, 2020-01-13 22:10

new_text.png (20 KB) Marius BALTEANU, 2020-01-13 22:13

History

#1 Updated by Marius BALTEANU 8 months ago

  • File 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.

#2 Updated by Sebastian Paluch 8 months 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.

#3 Updated by Marius BALTEANU 8 months 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.

#4 Updated by Marius BALTEANU 5 months ago

  • Assignee changed from Sebastian Paluch to Go MAEDA

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

Also available in: Atom PDF