summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ImANerdRules.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ImANerdRules.rb b/bin/ImANerdRules.rb
index 5d74d04..d3def30 100755
--- a/bin/ImANerdRules.rb
+++ b/bin/ImANerdRules.rb
@@ -99,7 +99,7 @@ module ImANerdRules
end
def toc
return '' if @lvl == 0
- "#{' ' * @lvl} #{'*' * (@lvl > 0 ? 1 : 0)} #{lvl} [#{@name}](#{href})\n"
+ "#{' ' * @lvl} #{'*' * (@lvl > 0 ? 1 : 0)} #{lvl} [#{@title}](#{href})\n"
end
end