lib/asciidoctor/section.rb in asciidoctor-0.0.3 vs lib/asciidoctor/section.rb in asciidoctor-0.0.4
- old
+ new
@@ -53,10 +53,10 @@
# => "git-web--browse(1) Manual Page"
#
# Returns the String section name
def name
@name &&
- @name.gsub(/(^|[^\\])\{(\w[\w\-]+\w)\}/) { $1 + Asciidocs::INTRINSICS[$2] }.
+ @name.gsub(/(^|[^\\])\{(\w[\w\-]+\w)\}/) { $1 + Asciidoctor::INTRINSICS[$2] }.
gsub( /`([^`]+)`/, '<tt>\1</tt>' )
end
# Public: Get the String section id
#