[ic] Displaying raw html using query tag?
jon at endpoint.com
Tue May 22 23:41:55 UTC 2012
On Wed, 23 May 2012, Peter wrote:
> On 23/05/12 04:41, IC wrote:
>> I have some raw html stored in the database, eg <ul><li> for a list bullet
>> etc, I am trying to display this exactly as stored using the query tag in a
>> list and [sql-param myfield] but it displays the bullet not the raw html.
>> How do I make it display the actual raw html as stored?
> [filter encode_entities][sql-param myfield][/filter]
In my experience this is a better way from a performance point of view,
particularly in a loop with many invocations:
[sql-filter encode_entities][sql-param myfield][/sql-filter]
because it parses faster during loop time rather than after the loop runs
with regular ITL.
End Point Corporation
More information about the interchange-users