lib/creole.rb in minad-creole-0.3.2 vs lib/creole.rb in minad-creole-0.3.3
- old
+ new
@@ -1,5 +1,6 @@
+# -*- encoding: utf-8 -*-
require 'cgi'
require 'uri'
# :main: Creole
@@ -27,11 +28,11 @@
# You can customize the created anchor/image markup by overriding
# make_*_anchor/make_image.
module Creole
- VERSION = '0.3.2'
+ VERSION = '0.3.3'
# CreoleParseError is raised when the Creole parser encounters
# something unexpected. This is generally now thrown unless there is
# a bug in the parser.
class CreoleParseError < Exception; end
@@ -78,10 +79,10 @@
@out = ""
@strong = false
@p = false
@stack = []
parse_block(string)
- return @out
+ @out
end
# Escape any characters with special meaning in HTML using HTML
# entities.
private