Escape special characters when creating new marker

Signed-off-by: Oleg Bulatov <oleg@bulatov.me>