#808 ✓resolved
Tomoaki Hayasaka

``<table-plus>`` headers are html-escaped

Reported by Tomoaki Hayasaka | September 29th, 2010 @ 12:29 AM | in Hobo 1.3 (Rails 3)

I use Hobo 1.3pre7 + Rails 3.0.

<table-plus> headers are rendered incorrectly where

  • they are html-escaped

  • they should be placed under table/thead/tr but are placed before table

Here's a fix:

diff --git a/hobo/lib/hobo/rapid/taglibs/rapid_support.dryml b/hobo/lib/hobo/rapid/taglibs/rapid_support.dryml
index 0ad5b64..2f71601 100644
--- a/hobo/lib/hobo/rapid/taglibs/rapid_support.dryml
+++ b/hobo/lib/hobo/rapid/taglibs/rapid_support.dryml
@@ -95,7 +95,7 @@ This tag is in need of a review - it's a bit funky.
       scope.field_name = n == "this" ? this.member_class.try.name : n.to_s.gsub("." , "_") 
       scope.field_path = n
       parameters.default
-    end.join
+    end.join.html_safe
   end
 %>
 </def>

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Tags

Pages