Hi,

I have a code like this:
                {{for row in table:}}
                    <tr>
                        {{for report_attribute in report_attributes:}}
                            {{cell_value = 
table[row][report_attribute.report_attribute.id]["cell_value"]}}
                            {{if type(cell_value) is list:}}
                                {{cell_value = "<br />".join(map(str, 
cell_value))}}
                            {{pass}}
                            {{=TD(cell_value, 
_class=table[row][report_attribute.report_attribute.id]["css_class"])}}
                        {{pass}}
                    </tr>
                {{pass}}

This line is used to join list and <br /> is used as separator <br />
{{cell_value = "<br />".join(map(str, cell_value))}}

The problem i have is that <br /> is escaped and in my browser i get result 
like "2013-04-04<br />2013-05-31<br />2013-05-16<br />2013-06-01<br 
/>2013-05-01<br />2013-05-03". 
I assume that this escaping is some security feature. Is there a way that i 
could print this without escaping? 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to