Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make AutolinkFilter configurable #335

Merged

Conversation

mnishiguchi
Copy link
Contributor

Description

This makes AutolinkFilter optionally accept the :link_mode context so that developers can switch the link mode of Rinku.auto_link. Currently the link mode is fixed to :urls.

Notes

  • Since the :link_mode context has the default value of :urls, this change won't change existing behavior.
  • vmg/rinku gem doc

@gjtorikian
Copy link
Owner

Great, thank you! Releasing as a new minor version now.

@gjtorikian gjtorikian merged commit 5d76e28 into gjtorikian:master Aug 11, 2020
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.

2 participants