プロジェクト

全般

プロフィール

Vote #80583

未完了

Text formating on Redmine Home page does not work

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
Needs feedback
優先度:
通常
担当者:
-
カテゴリ:
Text formatting_26
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
26
version_id:
0
issue_org_id:
32770
author_id:
115781
assigned_to_id:
332
comments:
4
status_id:
10
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
127
ステータス-->[Needs feedback]

説明

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?
--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリText formatting_26 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0