There was a Maruku workaround blowing things up if you passed an
html_safe string.  So I fixed that.

But that's not really what you wanted.   The old cookbook was
depending on the view code turning those angle brackets into < etc.
  The problem was that Hobo 1.3 was doing that twice.  So I fixed that
too.

Now you can do either:

 "<#{tag}#{' for=\'' + for_type + '\'' if for_type}>"

or

"&lt;{tag}#{' for=\'' + for_type + '\'' if for_type}&gt;".html_safe

and get the same result.   Which I think is the behavior people expect.

I pushed the fix to Hobo, and have fixed a couple of other things I
found, and pushed your work to
https://github.com/tablatom/hobocookbook/tree/rails3

I'll email Tom and ask him to add you to the committers list for the cookbook.

Bryan

> which is calling
>   def short_def_line
>     "<#{tag}#{' for=\'' + for_type + '\'' if for_type}>"
>   end
> in api_def_tag.rb model I believe however I'm not quite sure how to fix the
> problem where the string isn't considered html safe.
>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to