lib/bbcoder/base.rb in bbcoder-0.1.4 vs lib/bbcoder/base.rb in bbcoder-0.1.5
- old
+ new
@@ -19,10 +19,10 @@
def parse
raw.each do |data|
case data
when /\[\/([^\]]+)\]/
- buffer.tags.pop($1.to_sym)
+ buffer.tags.pop($1)
when /\[([^\]]+)\]/
buffer.tags.push($1)
else
buffer.push(data)
end