Re: mab advice

2012-05-04 Thread Dave Everitt
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

Re: mab advice

2012-05-04 Thread Jenna Fox
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

mab advice

2012-05-04 Thread Dave Everitt
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