lib/asciidoctor/inline.rb in asciidoctor-1.5.3 vs lib/asciidoctor/inline.rb in asciidoctor-1.5.4
- old
+ new
@@ -13,11 +13,11 @@
def initialize(parent, context, text = nil, opts = {})
super(parent, context)
@node_name = %(inline_#{context})
- @text = text
+ @text = text
@id = opts[:id]
@type = opts[:type]
@target = opts[:target]
@@ -35,10 +35,10 @@
end
def convert
converter.convert self
end
-
+
# Alias render to convert to maintain backwards compatibility
alias :render :convert
end
end