[WIP] Convert GFM reference handling to html-pipeline filters
-
Issue references (including cross-project)
- Specs
-
External issue tracker references
- Specs
-
Merge Request references (including cross-project)
- Specs
-
Users/Groups
- Specs
-
Snippets (including cross-project)
- Specs
-
Commits (including cross-project)
- Specs
-
Commit ranges (including cross-project)
- Specs
-
Labels
- Specs
-
Fix
ReferenceExtractor
-
FixMentionable
Separate merge request:
-
Task lists (probably replace with the
task_list
gem)
Feedback needed
The old GFM specs test snippet references as being cross-referable, but the GFM docs don't mention this. Are they/should they be?Are commit ranges cross-referable? Again the docs don't define this behavior, but this time neither do the specs.As far as I can tell, external issue refs such asJIRA-123
are linked without checking if the ID is valid or not (not even sure if there is a way to check). Is that the correct behavior?