Support custom sanitizer for marker popup