That did it very nicely - thanks, Jenna! - D
So essentially you want the 'label' string inserted verbatim as html
code, rather than as plain text?
li { a(:href => link) { label } }
In markaby and presumably mab, strings passed as arguments are
escaped, and html is inserted as bodies of ele
So essentially you want the 'label' string inserted verbatim as html code,
rather than as plain text?
li { a(:href => link) { label } }
In markaby and presumably mab, strings passed as arguments are escaped, and
html is inserted as bodies of elements via blocks - you can build that body
ei
I have a simple helper function containing this to spit out a list of
links from a hash:
...
links.each_pair do |label, link|
li { a label, :href => link }
end
...
my hash elements are (obviously):
'Link label' => 'http-link',
I'd now like to add a 'strong' tag around some of the tex
3 matches
Mail list logo