プロジェクト

全般

プロフィール

Vote #78310

完了

Markdown pre-block could derive incorrect wiki sections

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

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

0%

予定工数:
category_id:
1
version_id:
138
issue_org_id:
25299
author_id:
152211
assigned_to_id:
1
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
136
ステータス-->[Closed]

説明

In markdown formatting, pre-block by @```@ including @#@ derives incorrect wiki editable-sections.

Example:

# H1

## H2

```
## pre-block
```

### H3

!redmine-wiki.png!


Editing section "H2":

## H2

```

and editing section "H3":

## pre-block
```

### H3

As above, @#@ in pre-block is treated as markdown header.

NOTE pre-block by @~~~@ does right results.

# H1

## H2

~~~
## pre-block
~~~

### H3

Editing "H2":

## H2

~~~
## pre-block
~~~

### H3

and editing "H3":

### H3

I attached a fix patch.


journals

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

--------------------------------------------------------------------------------
Since it is a very small fix, I think we can include the fix in the next minor release. Setting target version to 3.3.7.
--------------------------------------------------------------------------------
Committed, thanks.
--------------------------------------------------------------------------------


related_issues

blocks,Closed,22843,Change the value of "pre" button in Markdown toolbar from "~~~" to "```"

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

  • カテゴリWiki_1 にセット
  • 対象バージョン3.3.7_138 にセット

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

いいね!0
いいね!0