From 0cfae72a4ae9cd8a4c41b9bc774570e10f2e9859 Mon Sep 17 00:00:00 2001 From: Darafei Praliaskouski Date: Tue, 30 Oct 2012 11:54:39 +0300 Subject: [PATCH] supprot for text in hstore --- src/komap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komap.py b/src/komap.py index 0dc8038..2ba462b 100644 --- a/src/komap.py +++ b/src/komap.py @@ -837,7 +837,7 @@ if options.renderer == "mapnik": neitags = add_numerics_to_itags(fitags, escape = False) # for complex polygons, no escapng needed del fitags - ttext = " OR ".join(['"'+i+ "\" is not NULL " for i in texttags]) + ttext = " OR ".join([escape_sql_column(i)+ " is not NULL" for i in texttags]) if placement == "center" and layer_type == "polygon" and snap_to_street == 'false': sqlz = " OR ".join(sql)