Add hash/hashref interpolation support to blosxom.cgi, and tests.
[pkg/blosxom.git] / t / interpolate / expected.html
1 Content-Type: text/xhtml; charset=UTF-8\r
2 \r
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5 <html>
6 <head>
7 </head>
8 <body>
9 <pre>
10 # Basic scalars
11 title: Interpolation Testing
12 description: Terpolation Turpentine
13 # Namespaced scalars
14 Blosxom::Test::string: this is a test
15 # Hash values
16 hash{abc}: 123
17 hash{'X-Factor'}: 789
18 blosxom::hash{def}: 456
19 blosxom::hash{"X-Factor"}: 789
20 hashref->{abc}: 123
21 blosxom::hashref->{def}: 456
22 Blosxom::Test::hash{abc}: 123
23 Blosxom::Test::hash{'X-Factor'}: 789
24 Blosxom::Test::hashref->{def}: 456
25 Blosxom::Test::hashref->{"X-Factor"}: 789
26 # Bad quoting with hash values
27 hash{'X-Factor}: {'X-Factor}
28 hash{X-Factor'}: {X-Factor'}
29 hash{"X-Factor'}: {"X-Factor'}
30 </pre>
31 </body>
32 </html>