asip-meteor 0.9.0.2 → 0.9.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/meteor.rb +4 -5
- metadata +1 -1
data/lib/meteor.rb
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
19
19
|
#
|
|
20
20
|
# @author Yasumasa Ashida
|
|
21
|
-
# @version 0.9.0.
|
|
21
|
+
# @version 0.9.0.3
|
|
22
22
|
#
|
|
23
23
|
if RUBY_VERSION < '1.9.0' then
|
|
24
24
|
require 'kconv'
|
|
@@ -27,7 +27,7 @@ end
|
|
|
27
27
|
|
|
28
28
|
module Meteor
|
|
29
29
|
|
|
30
|
-
VERSION = "0.9.0.
|
|
30
|
+
VERSION = "0.9.0.3"
|
|
31
31
|
|
|
32
32
|
#
|
|
33
33
|
# 要素クラス
|
|
@@ -1932,6 +1932,7 @@ module Meteor
|
|
|
1932
1932
|
#
|
|
1933
1933
|
def setAttribute_3(elm,attrName,attrValue)
|
|
1934
1934
|
if !elm.cx then
|
|
1935
|
+
attrValue = escape(attrValue)
|
|
1935
1936
|
#属性群の更新
|
|
1936
1937
|
editAttributes_(elm,attrName,attrValue)
|
|
1937
1938
|
|
|
@@ -1946,8 +1947,6 @@ module Meteor
|
|
|
1946
1947
|
|
|
1947
1948
|
def editAttributes_(elm,attrName,attrValue)
|
|
1948
1949
|
|
|
1949
|
-
#attrValue = escape(attrValue)
|
|
1950
|
-
|
|
1951
1950
|
#属性検索
|
|
1952
1951
|
#@res = @pattern.match(elm.attributes)
|
|
1953
1952
|
|
|
@@ -2043,7 +2042,7 @@ module Meteor
|
|
|
2043
2042
|
elm.arguments.map.each{ |name,attr|
|
|
2044
2043
|
|
|
2045
2044
|
if attr.changed then
|
|
2046
|
-
@_attrValue =
|
|
2045
|
+
@_attrValue = attr.value
|
|
2047
2046
|
#replace2Regex(@_attrValue)
|
|
2048
2047
|
@pattern_cc = '' << name << SET_ATTR_1
|
|
2049
2048
|
#@pattern_cc = "#{attrName}=\"[^\"]*\""
|