Greg Conway writes: > ... > BUT.... what seems to happen after a while, if several ' characters get > entered, is that the text that has ended up between two ' characters > disappears! Looks like a bug (although an unbelievable one). Can you send a (reproducible) example. I.e. When "x" contains ..., then "<dtml-var x sql_quote>" produces the (wrong) result "y" Dieter