Replace ALL instances of tags.

This commit is contained in:
Tom Preston-Werner
2010-07-24 22:23:06 -07:00
parent 00227a118b
commit 9ccb84f8d8
+1 -1
View File
@@ -72,7 +72,7 @@ module Gollum
# Returns the marked up String data.
def process_tags(data)
@tagmap.each do |id, tag|
data.sub!(id, process_tag(tag))
data.gsub!(id, process_tag(tag))
end
data
end