Update Vendored Erubis to 2.6.6
This commit is contained in:
parent
c18c2f988d
commit
39c2138f88
300 changed files with 207 additions and 171 deletions
22
vendor/plugins/erubis/test/data/users-guide/example31.result
vendored
Normal file
22
vendor/plugins/erubis/test/data/users-guide/example31.result
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
$ ruby example3.rb 2> stderr.log
|
||||
----- script source ---
|
||||
_buf = ''; for item in list
|
||||
_buf << ' <p>'; _buf << Erubis::XmlHelper.escape_xml( item ); _buf << '</p>
|
||||
<p>'; _buf << ( item ).to_s; _buf << '</p>
|
||||
<p>'; $stderr.puts("*** debug: item=#{(item).inspect}"); _buf << '</p>
|
||||
|
||||
'; end
|
||||
_buf.to_s
|
||||
----- result ----------
|
||||
<p><aaa></p>
|
||||
<p><aaa></p>
|
||||
<p></p>
|
||||
|
||||
<p>b&b</p>
|
||||
<p>b&b</p>
|
||||
<p></p>
|
||||
|
||||
<p>"ccc"</p>
|
||||
<p>"ccc"</p>
|
||||
<p></p>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue