Sorry that code isn't in github. I'm still PO'd that there's no nice way to make that line work with both 2.3 and 3.0.

On 11-04-07 03:53 PM, Dennis saka wrote:
Hi Brian

Ah! thank you, incidentally i played around with the tag trying to get
.html_safe to work but i guess i couldnt get it in the right place :)

On Thu, Apr 7, 2011 at 9:42 PM, Bryan Larsen<[email protected]>  wrote:
diff --git a/taglibs/hobo-jquery.dryml b/taglibs/hobo-jquery.dryml
index 90f07cc..4dc922a 100644
--- a/taglibs/hobo-jquery.dryml
+++ b/taglibs/hobo-jquery.dryml
@@ -38,7 +38,7 @@ To use it, invoke this tag directly before the tag to
annotate.  To get the anno
     });
  -->
  <def tag="annotate-tag">
-<%= "<!-- json_annotation (#{attributes.to_json}); -->" %>
+<%= "<!-- json_annotation (#{attributes.to_json}); -->".html_safe %>
  </def>



On 11-04-07 11:41 AM, Dennis saka wrote:

Hi
What is the syntax of adding .html_safe in hobo jquery tag like<hjq-
datepicker dateFormat="yy-mm-dd" />     in hobo 1.3 with hobo_jquery
plugin installed?

im getting this

<!-- json_annotation

({"tag":"hjq-datepicker","events":{},"init":"hjq.datepicker.init","options":{"dateFormat":"yy-mm-dd"}});
-->

instead of a datepicker being displayed in the form

Can some one kindly help?

kind regards
dennis


--
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.




--
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