Ticket #409 (closed enhancement: fixed)
SmartTitle uses out-of-context headings
| Reported by: | MasinAlDujaili | Owned by: | DotMG |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3.1 |
| Component: | core | Version: | 1.1.6.2 |
| Severity: | minor | Keywords: | title heading smarttitle |
| Cc: |
Description (last modified by DotMG) (diff)
If a page does not contain any heading but a sample, which does contain text between a number of '=', this text is used. This behaviour is not desired but exactly what the function is supposed to do: Find the text with most equal signs surrounding it.
Example:
This is a test page demonstrating the bug. %% Inside this code block appears the heading which will be found by SmartTitle. ===Heading and Title=== The heading of this section will be used as the page title, although it is out of normal text flow context. %%
Currently, the only workaround is to create pages with headings if above condition is met
Related:
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
