Vote #80583
未完了Text formating on Redmine Home page does not work
0%
説明
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
journals
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.
!home.png!
It will be helpful to provide the steps to reproduce the problem.
--------------------------------------------------------------------------------
Sorry, I was not precise in this issue.
The exact text entered in "Welcome text" is:
<pre>
Jump to "*%{color:red}Redmine help project%*":/redmine/projects/redmineusers/wiki and follow the guides...
</pre>
This results with following text being displayed on the Home page:
<pre>
Jump to *%{color:red}Redmine help project%* and follow the guides...
</pre>
It seems that the link makes the difference.
--------------------------------------------------------------------------------
Indeed, in Redmine 3.4.12, the following text
<pre>
Jump to "*%{color:red}Redmine help project%*":/redmine/projects/redmineusers/wiki and follow the guides...
</pre>
is rendered as:
!3.4.12.png!
where "Redmine help project" links to "redmine/projects/redmineusers/wiki".
In current trunk, the same text is rendered as:
!trunk.png!
but if you change the text to
<pre>
Jump to *"{color:red}Redmine help project":/redmine/projects/redmineusers/wiki* and follow the guides
</pre>
or
<pre>
Jump to *%"{color:red}Redmine help project%*":/redmine/projects/redmineusers/wiki and follow the guides...
</pre>
then is rendered as expected:
!new_text.png!
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.
--------------------------------------------------------------------------------
Go Maeda, do you have any clue about this issue?
--------------------------------------------------------------------------------