Hello,

I am not sure if it is a bug or not, but let say I would generate this 
bootstrap tooltip :

db[table][field].label = CAT(T(dblabels[concat]), SPAN(' '),
                    A(I(_class='icon-info-sign'), _href='#', _rel='tooltip',
                        **{'_data-placement': 'right',
                        '_data-original-title': T(dbtooltips[concat])}))

Where my tooltips text contained om dict dbtooltips looks like that :

My text comment contains "Double Quote" hahaha

The result will be :

<a data-original-title="My text comment contains "Double Quote" hahaha" 
data-placement="right" href="#" rel="tooltip"><i 
class="icon-info-sign"></i></a>

So the only part displayed in the rendered html will be "My text comment 
contains "...

Should I address this problem myself or web2py should convert to special 
character the optional attributes that we pass?

Richard

-- 



Reply via email to