Mercurial > hg > soundsoftware-site
diff lib/redcloth3.rb @ 51:371eac10df0b live
* Merge from "cannam" branch. This includes update to Redmine trunk, plus welcome/tip-of-the-day from luisf branch.
author | Chris Cannam |
---|---|
date | Wed, 24 Nov 2010 12:20:08 +0000 |
parents | 94944d00e43c |
children | af80e5618e9b |
line wrap: on
line diff
--- a/lib/redcloth3.rb Thu Oct 21 11:19:14 2010 +0100 +++ b/lib/redcloth3.rb Wed Nov 24 12:20:08 2010 +0000 @@ -456,7 +456,7 @@ # next if tog and method( tog ).call # text.gsub! re, resub #end - text.gsub!(/\b([A-Z][A-Z0-9]{2,})\b(?:[(]([^)]*)[)])/) do |m| + text.gsub!(/\b([A-Z][A-Z0-9]{1,})\b(?:[(]([^)]*)[)])/) do |m| "<acronym title=\"#{htmlesc $2}\">#{$1}</acronym>" end end