Modify ↓
Ticket #907 (closed defect: fixed)
Opened 8 years ago
Last modified 8 years ago
Closing font-style tags ('', ''', ~~ and __) are not recognized around an intra-trac link
| Reported by: | Juanma Barranquero | Owned by: | jonas |
|---|---|---|---|
| Priority: | low | Milestone: | 0.8 |
| Component: | wiki system | Version: | devel |
| Severity: | minor | Keywords: | patch |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description (last modified by cmlenz) (diff)
Wiki links like
'''ticket:1'''
incorrectly generate HTML links like this one:
<strong><a title="" class="missing" href="/trac/ticket/1'''">ticket:1'''?</a></strong>
I'm no expertin WikiFormatter.py, but the attached patch seems to fix the problem.
Attachments
Change History
Changed 8 years ago by Juanma Barranquero
- Attachment WikiFormatter.diff added
Changed 8 years ago by cmlenz
- Attachment ticket907.patch added
Combined patch with additional unit test
comment:1 Changed 8 years ago by cmlenz
- Component changed from general to wiki
- Description modified (diff)
- Keywords patch added; links removed
- Priority changed from normal to low
I think the patch looks good, and have just added a new patch including the original but with an added unit test for the expected behavior.
I'll leave it to jonas to actually check in this change, as I'm far too uncertain about touching the Wiki formatter myself at this point.
comment:3 Changed 8 years ago by jonas
- Resolution set to fixed
- Status changed from assigned to closed
Fixed in [1045], thanks!
Note: See
TracTickets for help on using
tickets.



Patch to fix intra-trac links inside font styles.