- Status New
- Percent Complete
- Task Type Bug Report
- Category Backend/Core
- Assigned To No-one
- Operating System All
- Severity Low
- Priority Very Low
- Reported Version 1.0-rc
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Flyspray - The bug killer!
Opened by peterdd - 02.08.2017
Last edited by peterdd - 02.08.2017
Opened by peterdd - 02.08.2017
Last edited by peterdd - 02.08.2017
FS#2436 - dokuwiki renderer creates nonunique html-id for h1,h2,h3
The dokuwiki renderer automatic creates for each h(1-6) tag an html id attribute, but doesn’t ensure that this:
- is not used by Flyspray templates
- is unique across all tasks (tasklist summary/description mouseover!), id must be unique on a webpage.
Example: id=”footer” and id=”title” are used by the default CleanFS template for example.
footer
id=”footer”
title
id=”title”
title
id=”title1”
title
id=”title2”
The original intention I think is to make dokuwiki content each h-section linkable, for instance by a “table of contents” at top of a wiki content page.
This is currently not used by the dokuwiki integrated in Flyspray, but could be in future.
Possible solution
Add the task_id to the generated id h(1-6) tags, for instance “d1234_footer” “d1234_title”
d - like description
(t1234 used for tags/labels id currently)
Test also with comments:
footer
title
title
c - like comment
c1234_footer c1234_title ?
Screenshot for documentation