From: Jeremy McAnally Date: 2007-12-18T00:23:50+09:00 Subject: Re: Markaby Problem Hm that's odd. I think you need to do this: markaby.ul :id =>'mainnavigation' do items.each do |item| li { a :id=> item } end end Not sure if that will work, but I think it will. :) --Jeremy On Dec 17, 2007 9:21 AM, Christian Kerth wrote: > Hey! > > I'd like to render a unnumbered list using the markaby gem. > > this list needs to hold links. > > I've tried the following: > > markaby.ul :id =>'mainnavigation' do > > items.each do |item| > > li a :id=> item > > end > > end > > But it renders: > > > > all the link tags have a wrong encoding. > > How do i fix that? > > thx > -- > Posted via http://www.ruby-forum.com/. > > -- http://www.jeremymcanally.com/ My books: Ruby in Practice http://www.manning.com/mcanally/ My free Ruby e-book http://www.humblelittlerubybook.com/ My blogs: http://www.mrneighborly.com/ http://www.rubyinpractice.com/