Project

General

Profile

Actions

Defect #7172

closed

{{toc}} macro doesn't work with <pre></pre>

Added by TANUKI M almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2010-12-25
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

In my environment (1.0.5), {{toc}} doesn't render headers after <pre></pre>.

h1. aaa

{{>toc}}

etc

h2. bbb

<pre>
</pre>

h2. ccc

etc

h2. ddd

ccc , ddd don't appear.

aaa
  bbb


Related issues

Has duplicate Redmine - Defect #7183: Svn 4376 breaks table of contents with pre'sClosedJean-Philippe Lang2010-12-27

Actions
Actions #1

Updated by Felix Schäfer almost 14 years ago

Can't reproduce, could you try on the http://demo.redmine.org if it behaves as intended or not?

Actions #2

Updated by Felix Schäfer almost 14 years ago

  • Status changed from New to Closed

Already reported in #7172, thanks nontheless.

Actions #3

Updated by Felix Schäfer almost 14 years ago

  • Status changed from Closed to Reopened

Sorry, got the relation in the wrong order.

Anyway, I was able to confirm this on my local devel environment.

#7183 holds a little more info, especially which commit probably broke this.

Actions #4

Updated by Jean-Philippe Lang almost 14 years ago

  • Status changed from Reopened to Closed
  • Resolution set to Fixed

The diagnostic in #7183 was correct. Fixed with test in r4578.

Actions

Also available in: Atom PDF