Ive noticed that markup generated by rails leaves whitespace where the ruby has been. Reminds me of what coldfusion used to do.... Anyway, i was wondering if there was a way get rid off this... I like my markup to look neat, makes it easier to read - im also having to \t \t\t\t my markup to... any suggestions on the presentation of generated markup would be helpful... Thanks Eoghan
Use <% .... -%> to remove whitespace (the extra "-") On 7/23/05, eoghan <rails-JPH02XhdevJeoWH0uzbU5w@public.gmane.org> wrote:> Ive noticed that markup generated by rails leaves whitespace where > the ruby has been. Reminds me of what coldfusion used to do.... > Anyway, i was wondering if there was a way get rid off this... I like > my markup to look neat, makes it easier to read - im also having to \t > \t\t\t my markup to... any suggestions on the presentation of > generated markup would be helpful... > Thanks > Eoghan > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > lists.rubyonrails.org/mailman/listinfo/rails >