Skip to content

Commit

Permalink
remove obsolete method
Browse files Browse the repository at this point in the history
  • Loading branch information
minad committed Oct 28, 2012
1 parent 6f5e830 commit 6311a25
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions lib/creole/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
# hierachical local links, you must inherit Creole::CreoleParser and
# override make_local_link.
#
# You can customize the created anchor/image markup by overriding
# make_*_anchor/make_image.
# You can customize the created image markup by overriding
# make_image.

# Main Creole parser class. Call CreoleParser#parse to parse Creole
# formatted text.
Expand Down Expand Up @@ -128,13 +128,6 @@ def start_paragraph
end
end

# Create anchor markup for explicit links. This
# method can be overridden to generate custom
# markup, for example to add html additional attributes.
def make_explicit_anchor(uri, text)
'<a href="' << escape_html(uri) << '">' << escape_html(text) << '</a>'
end

# Translate an explicit local link to a desired URL that is
# properly URL-escaped. The default behaviour is to convert local
# links directly, escaping any characters that have special
Expand Down

0 comments on commit 6311a25

Please sign in to comment.