|
|
RailsTypes
summary One-sentence summary of this page.
HTML-escaped strings
key: !!h 'Eat %s & die!'
lc :key, 'shit' => 'Eat shit & die!'
Textile formatted strings
RedCloth is required (gem install redcloth)
key: !!textile |
h1. Vulgar limerick
There once was a man from _Nantucket_<br/>
Whose *dick* was so long he could *suck* it.<br/>
Once he said with a grin,<br/>
As he _wiped off his chin_:<br/>
-- If my ear were a *cunt*, I could *fuck* it.lc :key =>
<h1>Vulgar limerick</h1>
<p>There once was a man from <em>Nantucket</em><br/>
Whose <strong>dick</strong> was so long he could <strong>suck</strong> it.<br/>
Once he said with a grin,<br/>
As he <em>wiped off his chin</em>:<br/>
—If my ear were a <strong>cunt</strong>, I could <strong>fuck</strong> it.</p>Light mode textile formatted strings
RedCloth is required (gem install redcloth)
key: !!ltextile Kiss my _%s_, you *%s*!
lc :key, 'ass', 'dildo' => 'Kiss my <em>ass</em>, you <strong>dildo</strong>!'
Please see RedCloth docs for details.
Sign in to add a comment
