Sha256: b1d6640c69e77cde662ca1fc533933c0693e131c71938454343074cacc0e3a9c

Contents?: true

Size: 362 Bytes

Versions: 214

Compression:

Stored size: 362 Bytes

Contents

$ erubis -x --pi example10.xhtml
_buf = ''; _buf << '<?xml version="1.0" ?>
';
  lang = 'en'
  list = ['<aaa>', 'b&b', '"ccc"']

 _buf << '<html lang="'; _buf << (lang).to_s; _buf << '">
 <body>
  <ul>
';   for item in list 
 _buf << '   <li>'; _buf << Erubis::XmlHelper.escape_xml(item); _buf << '</li>
';   end 
 _buf << '  </ul>
 </body>
</html>
';
_buf.to_s

Version data entries

214 entries across 188 versions & 44 rubygems

Version Path
rango-0.1.pre vendor/erubis/test/data/users-guide/example10_x.result
simple-templater-0.0.1 vendor/erubis/test/data/users-guide/example10_x.result
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example10_x.result
erubis-2.6.5 test/data/users-guide/example10_x.result
erubis-2.3.0 test/data/users-guide/example10_x.result
erubis-2.6.1 test/data/users-guide/example10_x.result
erubis-2.6.2 test/data/users-guide/example10_x.result
erubis-2.3.1 test/data/users-guide/example10_x.result
erubis-2.4.0 test/data/users-guide/example10_x.result
erubis-2.6.0 test/data/users-guide/example10_x.result
erubis-2.4.1 test/data/users-guide/example10_x.result
erubis-2.5.0 test/data/users-guide/example10_x.result
erubis-2.6.3 test/data/users-guide/example10_x.result
erubis-2.6.4 test/data/users-guide/example10_x.result