| Ticket Hash: | a3572c6a5b47cd5a4521bf4bef579aed6ec8efa2 | ||
| Title: | Backlinks do not work for Markdown | ||
| Status: | Fixed | Type: | Code_Defect |
| Severity: | Important | Priority: | Immediate |
| Subsystem: | Resolution: | Fixed | |
| Last Modified: |
2020-04-16 22:42:18 5.96 years ago |
Created: |
2020-04-15 16:01:01 5.96 years ago |
| Version Found In: | 2.10 | ||
| User Comments: | ||||
|
drh added on 2020-04-15 16:01:01:
If a Fossil-Wiki formatted wiki page or ticket references a check-in, then the /info page for the check-in contains a link back to the wiki page or ticket. This is implemented using the "backlink" table of the repository. However, the backlink mechanism does not work for Markdown-formatted tickets or wiki. drh added on 2020-04-15 17:56:11: Furthermore, it appears that backlink always assumes that check-in comments are text/x-fossil-wiki, even if the N card for the check-in provides a different mimetype. While fixing this, it seems like it might be useful to add a check-in comment verification step to the "fossil commit" command. If the check-in comment appears to use a markup style different from whatever the default mark-up style is, or different from the that specified by the --mimetype option, then prompt the user to confirm that the comment is correct and give the user a chance to continue editing the commit if it is not. drh added on 2020-04-16 22:42:18: Changes implemented in the backlink-updates branch and merged to trunk by check-in ae1dac83d6bc4a3e. You must run " | ||||