rexslt 0.3.9 → 0.3.10
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/rexslt.rb +2 -2
- metadata +1 -1
data/lib/rexslt.rb
CHANGED
@@ -318,7 +318,7 @@ class Rexslt
|
|
318
318
|
if v[/{/] then
|
319
319
|
|
320
320
|
v.gsub!(/(\{[^\}]+\})/) do |x2|
|
321
|
-
element.
|
321
|
+
element.text(x2[/\{([^\}]+)\}/,1]).clone
|
322
322
|
end
|
323
323
|
|
324
324
|
end
|
@@ -364,7 +364,7 @@ class Rexslt
|
|
364
364
|
when /^\$/
|
365
365
|
@param[field[/^\$(.*)/,1]]
|
366
366
|
else
|
367
|
-
element.
|
367
|
+
element.text(field)
|
368
368
|
end
|
369
369
|
|
370
370
|
doc_element.add_element o.to_s
|