プロジェクト

全般

プロフィール

Vote #80944

完了

<pre> tags get html-encoded in the description

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

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

0%

予定工数:
category_id:
26
version_id:
0
issue_org_id:
33665
author_id:
373553
assigned_to_id:
0
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
157
ステータス-->[Closed]

説明

But they are working fine in comments. Also, the preview tab for the description field works also fine, so the html-encoding is probably done during save (or load?) time.

For example:

 
blabla

becomes

<pre>blabla</pre>

after saving, and opening for re-edit.

The problem appeared after upgrading to 4.0.6 from 2.4 (step-by-step of course, installing each major version).

I would first like to ask other 4.0 users if this bug exists for them, too.

Environment:
  Redmine version                4.0.6.stable
  Ruby version                   2.5.5-p157 (2019-03-15) [x86_64-linux-gnu]
  Rails version                  5.2.4.1
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
SCM:
  Subversion                     1.10.4
  Git                            2.20.1
  Filesystem                     
  Xitolite                       2.20.1
Redmine plugins:
  additionals                    2.0.22-1
  allmyissues                    0.0.1
  issue_hot_buttons              0.4.4
  line_numbers                   1.0.0
  my_projects                    1.4
  periodictask                   4.1.0
  redmine_bootstrap_kit          0.2.5
  redmine_favourite_projects     1.0
  redmine_git_hosting            4.0.1
  redmine_people                 1.4.0
  redmine_reminder               0.2.2
  status_button                  0.1.0


journals

I could not reproduce the issue. Could you check if the issue occurs without third-party plugins?
--------------------------------------------------------------------------------
You were right, it was the _issue_hot_buttons_ plugin that caused the error. You can close the issue, and I will try to fix the plugin if possible...

If anyone finds this issue, I managed to fix it using a commit I found: https://github.com/pallinger/issue_hot_buttons/commit/9cf97b771e880ec892ed00ef05a6eca5db3c829d.
--------------------------------------------------------------------------------
Thank you for giving your feedback and sharing the fix. Closing.
--------------------------------------------------------------------------------

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

  • カテゴリText formatting_26 にセット

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

いいね!0
いいね!0