Opened 12 years ago

Last modified 7 years ago

#9891 new defect

Fails on pages where title markup is present but are not titles — at Version 2

Reported by: alex Owned by: Catalin BALAN
Priority: normal Component: SectionEditPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

Consider the following markup:

= The Sandbox =

== Section 1 ==

{{{#!td
Table cell for title examples:
=== Title example ===
  {{{
  (line above prevents from messing up the markup; please ignore)
}}}

== Section 2 ==

Content for section 2.
}}}

It is rendered as this:

[[Image(example.png)]]

Titles (sections) are numbered as follows:
 * The Sandbox: `section=1`
 * Section 1: `section=2`
 * Section 2: `section=3`

However, the plugin is confused by the markup `=== Title example ===` included in the middle of the `#!td` element, and edition is done on ''Title example'' when ''Section 2'' is edited.

This behavior is easily reproducible by trying to edit a section on the WikiFormatting page of Trac version >=0.12 (where such title markup syntax examples are included).

Change History (2)

Changed 12 years ago by alex

Attachment: example.png added

Example rendered.

comment:2 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.