Links: dibi | API reference

Forum: [česky] [english]

dibi forum

tiny ‘n’ smart
database layer

You are not logged in.

#1 2 years ago

Kukosk
Member
Registered: 2009-09-19
Posts: 10

inserting html tags – embeds or so

hi,
i have got one problem in dibi…
when i want to insert html code of some embed, and i use %s, or so, it inserts escaped characters…

dont you want to add some modifier ? for example %html or so ? it would be perfect :)

any solution ?
thanks

 

#2 2 years ago

Jan Tvrdík
Nette guru
Registered: 2008-04-13
Posts: 1255

Re: inserting html tags – embeds or so

AFAIK dibi do not escape HTML characters in any case. Isn't the problem somewhere else? Are you sure that the string you put in query method isn't already escaped?

 

Board footer