Allow redcarpet to add nofollow to links
authorTom Hughes <tom@compton.nu>
Thu, 24 Mar 2016 08:36:32 +0000 (08:36 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 24 Mar 2016 08:36:32 +0000 (08:36 +0000)
commit4e95ff17078f54866a85a3702948506bfd67acf8
tree161c07c914f2f1daae7e5c57e07cf70553596d94
parentce6d7966a1c9a3bb5ee416f2a9dbc41ec71bfbbe
Allow redcarpet to add nofollow to links

This, using a new feature in redcarpet, allows us to avoid having
to subclass the renderer and implement links ourselves, which in
turn means that redcarpet's link sanitisation works.
lib/rich_text.rb