Opened 19 years ago
Last modified 5 years ago
#2064 new defect
Timeline WikiFormatting mis-parses WikiLinks with aliases.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | topic-wikiengine |
Component: | wiki system | Version: | devel |
Severity: | major | Keywords: | wiki_to_oneliner shorten |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
In the timeline, the snippet of text that supports WikiFormatting will mis-parse a link of the format: [wiki:foobar foo]
.
If the literal text "[wiki:foobar foo]
" is longer than the line permits, it will produce:
Blah blah blah [wiki:foobar … |
when it could easily fit
Blah blah blah foo |
into the line.
Attachments (0)
Change History (15)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Component: | timeline → wiki |
---|---|
Keywords: | wiki_to_oneliner shorten added; WikiFormatting timeline removed |
One solution would be to have a parser generating wiki formatting elements, and the consumer (here, an HTML formatter) should stop as soon as it produced "enough" text.
comment:3 by , 19 years ago
Milestone: | → 1.0 |
---|
comment:5 by , 18 years ago
Milestone: | 1.0 → 0.11 |
---|
comment:6 by , 18 years ago
Owner: | changed from | to
---|
comment:7 by , 18 years ago
Milestone: | 0.11 → 0.12 |
---|
WikiEngine refactoring and related fixes postponed.
comment:8 by , 16 years ago
Besides the timeline, the PageOutline macro suffers from the same problem (see #5059).
comment:9 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:10 by , 15 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Please don't change the status of a ticket without an explanation (especially as anonymous).
comment:11 by , 15 years ago
Milestone: | next-major-0.1X → 0.13 |
---|---|
Severity: | normal → major |
comment:12 by , 14 years ago
Milestone: | 0.13 → 0.14-wikiengine |
---|
comment:14 by , 10 years ago
Owner: | removed |
---|---|
Status: | reopened → new |
This should in all likelihood be wrapped up by a more general solution to correctly handle displaying a snippet of WikiFormatted text correctly, including both TracLinks, pre-formatted code blocks, WikiProcessors, etc.
My 2cents… =]
-cc