Re: [Radiant] Strange trouble creating a custom tag…

2011-01-13 Thread William Ross
On 13 Jan 2011, at 08:58, Marc wrote: > Hi, > > I've been experimenting with adding a custom tag to Page, which works > when I have: > > module UiTags > include Radiant::Taggable > > desc "Returns the server host name" > tag 'lsi:hostname' do |tag| >CGI.escapeHTML(request.host()) unless

[Radiant] Strange trouble creating a custom tag…

2011-01-13 Thread Marc
Hi, I've been experimenting with adding a custom tag to Page, which works when I have: module UiTags include Radiant::Taggable desc "Returns the server host name" tag 'lsi:hostname' do |tag| CGI.escapeHTML(request.host()) unless request.nil? end end but not: module UiTags include