lib/nanoc3/helpers/link_to.rb in nanoc3-3.2.3 vs lib/nanoc3/helpers/link_to.rb in nanoc3-3.2.4
- old
+ new
@@ -61,12 +61,12 @@
# Create link
"<a #{attributes}href=\"#{h path}\">#{text}</a>"
end
- # Creates a HTML link using link_to, except when the linked item is the
- # current one. In this case, a span element with class “active” and with
- # the given text will be returned. The HTML-escaping rules for
+ # Creates a HTML link using {#link_to}, except when the linked item is
+ # the current one. In this case, a span element with class “active” and
+ # with the given text will be returned. The HTML-escaping rules for
# {#link_to} apply here as well.
#
# @param [String] text The visible link text
#
# @param [String, Nanoc3::Item, Nanoc3::ItemRep] target The path/URL,