Permalink
Browse files

Version bump

  • Loading branch information...
1 parent e538417 commit f091fa0c235e35b88ceedad5211223137cf64302 @txus txus committed Feb 17, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 Gemfile.lock
  2. +1 −1 lib/markdownizer.rb
  3. +1 −1 lib/markdownizer/version.rb
View
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- markdownizer (0.3.4)
+ markdownizer (0.3.5)
activerecord (>= 3.0.3)
coderay
rdiscount
View
@@ -86,7 +86,7 @@ class << self
# To parse the markdown in a coherent hierarchical context, you must provide it
# with the current hierarchical level of the text to be parsed.
def markdown(text, hierarchy = 0)
- text.gsub! %r[^(\s*)(#+)([\w\s]+)$] do
+ text.gsub! %r[^(\s*)(#+)(.+)$] do
$1 << ('#' * hierarchy) << $2 << $3
end
text.gsub!("\\#",'#')
@@ -1,3 +1,3 @@
module Markdownizer
- VERSION = "0.3.5"
+ VERSION = "0.3.6"
end

0 comments on commit f091fa0

Please sign in to comment.