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
18
vendor/plugins/erubis/test/data/users-guide/example.eperl
vendored
Normal file
18
vendor/plugins/erubis/test/data/users-guide/example.eperl
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
<%
|
||||
my $user = 'Erubis';
|
||||
my @list = ('<aaa>', 'b&b', '"ccc"');
|
||||
%>
|
||||
<html>
|
||||
<body>
|
||||
<p>Hello <%= $user %>!</p>
|
||||
<table>
|
||||
<% $i = 0; %>
|
||||
<% for $item (@list) { %>
|
||||
<tr bgcolor=<%= ++$i % 2 == 0 ? '#FFCCCC' : '#CCCCFF' %>">
|
||||
<td><%= $i %></td>
|
||||
<td><%= $item %></td>
|
||||
</tr>
|
||||
<% } %>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue