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.
Description
This makes
AutolinkFilter
optionally accept the:link_mode
context so that developers can switch the link mode ofRinku.auto_link
. Currently the link mode is fixed to:urls
.Notes
:link_mode
context has the default value of:urls
, this change won't change existing behavior.