diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-11-24 01:35:11 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-11-24 05:03:49 +0300 |
commit | e18711f7dd7753247ca77dbf90ae1eace699f052 (patch) | |
tree | 724222b094fc3a8192a9c98970e823c3649a633c /lib | |
parent | b518ad7cf9a853e0aa529d43c415231b1480f1cb (diff) |
Improve the anchor icon.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/helpers_.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helpers_.rb b/lib/helpers_.rb index f4364f13..19b77dfc 100644 --- a/lib/helpers_.rb +++ b/lib/helpers_.rb @@ -19,7 +19,7 @@ class HTML < Redcarpet::Render::HTML anchor.gsub!(/[^a-z0-9\-_]+/i, '-') anchor.squeeze!('-') # replace multiple dashes with one - %(<h#{header_level} id='#{anchor}'>#{text} <a class='anchor' href='##{anchor}' title='Permalink'>¶</a></h#{header_level}>) + %(<h#{header_level} id='#{anchor}'>#{text} <a class='anchor' href='##{anchor}' title='Permalink'></a></h#{header_level}>) end def image(link, title, alt_text) |