Replace ALL instances of tags.
This commit is contained in:
@@ -72,7 +72,7 @@ module Gollum
|
|||||||
# Returns the marked up String data.
|
# Returns the marked up String data.
|
||||||
def process_tags(data)
|
def process_tags(data)
|
||||||
@tagmap.each do |id, tag|
|
@tagmap.each do |id, tag|
|
||||||
data.sub!(id, process_tag(tag))
|
data.gsub!(id, process_tag(tag))
|
||||||
end
|
end
|
||||||
data
|
data
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user