﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9674	Support for escaping special characters	imagic	team	"In order to use user-provided text within an embedded SVG I'll need to escape any special characters. Although I could do this using multiple calls to replace, I would prefer to have some dedicated ""escape"" function.

I suggest to add a function escape(text, scope): ""text"" should be the text that needs escaping and ""scope"" the scope of the text.

Example: escape(""abc [ < def"",""SVG"") -> ""abc &#91; &lt; def"""	enhancement	closed	normal	14.02	Core mappaint	tested	fixed	MapCSS, SVG	imagic
