Hi,
I have seen that the Tooltip text in views is not encoded in the HTML format in latest .dev and latest live version.

After hours of searching I found the same situation in Drupal 6 Gmap; https://www.drupal.org/node/704574#comment-2575712
You need to add;

if (!empty($marker->title)) {
    $marker->title = check_plain($marker->title);
  }

After;

$tooltip = '';
          if ($this->options['tooltipenabled'] && !empty($this->rendered_fields[$row_index][$this->options['tooltipfield']])) {
            $tooltip = $this->rendered_fields[$row_index][$this->options['tooltipfield']];
            // https://www.drupal.org/node/704574
              if (!empty($marker->title)) {                                                   <====== Added
    			$marker->title = check_plain($marker->title);            <====== Added
  			  }                                                                                 <====== Added
          }

Please add this to next .dev version.

Greetings, Martijn

CommentFileSizeAuthor
#6 gmap_2615890_5.patch822 bytesphily
#4 gmap_2615890_4.patch895 bytesphily

Comments

Summit created an issue. See original summary.

stephen ollman’s picture

What file in D7 does this fix go into?

summit’s picture

Hi,
Don't know anymore. I do not use Gmap anymore. Sorry.
greetings, Martijn

phily’s picture

Status: Active » Needs review
StatusFileSize
new895 bytes

Couldn't find a proper way to do it but by following Stephen Ollman trick on https://www.drupal.org/project/gmaps/issues/704574#comment-12447438
Patch is attached.

Status: Needs review » Needs work

The last submitted patch, 4: gmap_2615890_4.patch, failed testing. View results

phily’s picture

StatusFileSize
new822 bytes
stephen ollman’s picture

+1 #6