プロジェクト

全般

プロフィール

Vote #80463

完了

Textile indentation does not work in the preview tab

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

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

0%

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

説明

I entered the following textile in the issue description field and confirmed to the preview, but I can't show the paragraph indent.

p>. right aligned

p=. centered

p(. left indent 1em

p((. left indent 2em

p>)). right aligned + right indent 2em

p>). right aligned + right indent 1em
  • Actual -

!{width:600px;border:1px solid #ccc;}actual_not_show_indent.png!


journals

Indentation is now visible in the following patch.

<pre><code class="diff">
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 2fc541bc0..834dead9d 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -827,7 +827,9 @@ input#months { width: 46px; }
.tabular.settings .wiki-preview, .tabular.settings .jstTabs { width: 99%; }
.tabular .wiki-preview p {
min-height: initial;
- padding: 1em 0 1em 0 !important;
+ padding: 0;
+ padding-top: 1em !important;
+ padding-bottom: 1em !important;
overflow: initial;
}

</code></pre>

!{width:600px;border:1px solid #ccc;}show_indent.png!
--------------------------------------------------------------------------------
Confirmed that the issue is reproduceble and the patch in #32422#note-1 fixes it.

Setting the target version to 4.0.6.
--------------------------------------------------------------------------------
Committed the patch. Thank you for catching and fixing the issue.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

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

  • カテゴリText formatting_26 にセット
  • 対象バージョン4.0.6_157 にセット

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

いいね!0
いいね!0