Message7414
To go along with issue2551180, it would be nice to allow:
issue2551180#msg7413
issue 2551180#msg7413
be generate hyperlinks to https://issues.roundup-tracker.org/issue2551180#msg7413
Currently I think it only generates https://issues.roundup-tracker.org/issue2551180
or possibly two links one to the issue and one to the message.
This may be tricky to make work for the markdown tests.
They call _hyper_repl_item in templating.py and their patterns
may need to be changed to support this.
I suspect the regexp needs to look like:
(?P<item>(?P<class>[A-Za-z_]+)(\s*)(?P<id>\d+)(#(?P<frag>[^][#%^{}\"<>\s]+)?)
so add an optional #fragment not including the characters shown plus space characters
as we use those as the end of fragment delimiter. This will not handle %20 url
encoding to allow spaces but for a first pass this should work. |
|
Date |
User |
Action |
Args |
2021-12-11 22:11:27 | rouilj | set | recipients:
+ rouilj |
2021-12-11 22:11:27 | rouilj | set | messageid: <1639260687.34.0.803258210169.issue2551181@roundup.psfhosted.org> |
2021-12-11 22:11:27 | rouilj | link | issue2551181 messages |
2021-12-11 22:11:27 | rouilj | create | |
|