Skip to content

BugReference: Add new BugReference type; adds #92#102

Open
kallisti5 wants to merge 1 commit intorobinst:mainfrom
kallisti5:BugReference
Open

BugReference: Add new BugReference type; adds #92#102
kallisti5 wants to merge 1 commit intorobinst:mainfrom
kallisti5:BugReference

Conversation

@kallisti5
Copy link
Copy Markdown

  • Add a str as well as an href output, this allows printing the matching
    bug number, or the resulting url based on the configured prefix.

* Add a str as well as an href output, this allows
  printing the matching bug number, or the resulting
  url based on the configured prefix.
@kallisti5
Copy link
Copy Markdown
Author

Not 100% sure on the split apart href vs str design... it feels a bit anti-pattern to how things work now? 🤔

@kallisti5
Copy link
Copy Markdown
Author

ah yeah, the "link.href()" is probably taking it too far. linkify doesn't need to be aware of the prefix, just match bug numbers and let the consumer handle the prefix url stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant