[Zope] dtml-sqlvar and \n

Michael Fischer v. Mollard mfvm@businessvillage.de
Wed, 07 Aug 2002 09:54:07 +0200


I ran into a little inconvenience with <dtml-sqlvar spam type="string"> 
where spam is like "spam \n eggs" (as string, not the charcter).
sql_quote escapes this to "spam \\n eggs", which is not actually what I 
want. Is this intended and if, why? And is there a workaround other then 
usin <dtml-var>?

MfG
    MFvM