Project

General

Profile

バグ #657 » 0001-twitpic.patch

Satoshi Okuno, 2014-05-03 23:41

View differences:

core/plugin/openimg/openimg.rb
86 86

  
87 87
  def get_tag_by_attributes(tag)
88 88
    attribute = {}
89
    tag.scan(/([^\s=]+)=(?:['"])(.*?)\2/){ |pair|
90
      key, val = pair
89
    tag.scan(/([^\s=]+)=(['"])(.*?)\2/){ |pair|
90
      key, val = pair[0], pair[2]
91 91
      attribute[key] = val }
92 92
    attribute.freeze end
93 93

  
94
- 
    (1-1/1)