man/mustache.5.html in mustache-0.6.0 vs man/mustache.5.html in mustache-0.7.0
- old
+ new
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv='content-type' value='text/html;charset=utf8'>
- <meta name='generator' value='Ron/v0.3'>
+ <meta name='generator' value='Ronn/v0.4.1'>
<title>mustache(5) -- Logic-less templates.</title>
<style type='text/css'>
body {margin:0}
#man, #man code, #man pre, #man tt, #man kbd, #man samp {
font-family:consolas,monospace;
@@ -62,10 +62,11 @@
<li class='tr'>mustache(5)</li>
</ol>
<h2 id='NAME'>NAME</h2>
<p><code>mustache</code> -- Logic-less templates.</p>
+
<h2>SYNOPSIS</h2>
<p>A typical Mustache template:</p>
<pre><code>Hello {{name}}
@@ -115,10 +116,13 @@
no <code>name</code> method, an exception will be raised.</p>
<p>All variables are HTML escaped by default. If you want to return
unescaped HTML, use the triple mustache: <code>{{{name}}}</code>.</p>
+<p>You can also use <code>&</code> to unescape a variable: <code>{{& name}}</code>. This may be
+useful when changing delimiters (see "Set Delimter" below).</p>
+
<p>By default a variable "miss" returns an empty string. This can usually
be configured in your Mustache library.</p>
<p>Template:</p>
@@ -259,13 +263,13 @@
delimiters from {{ and }} to custom strings.</p>
<p>Consider the following contrived example:</p>
<pre><code>* {{ default_tags }}
-{{=<% %>=}}
-* <% erb_style_tags %>
-<%={{ }}=%>
+{{=<% %>=}}
+* <% erb_style_tags %>
+<%={{ }}=%>
* {{ default_tags_again }}
</code></pre>
<p>Here we have a list with three items. The first item uses the default
tag style, the second uses erb style as defined by the Set Delimiter
@@ -286,9 +290,10 @@
<h2>SEE ALSO</h2>
<p>mustache(1), mustache(7), gem(1),
<a href="http://defunkt.github.com/mustache/">http://defunkt.github.com/mustache/</a></p>
+
<ol class='foot man'>
<li class='tl'>DEFUNKT</li>
<li class='tc'>March 2010</li>
<li class='tr'>mustache(5)</li>