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

Support from Acquia helps fund testing for Drupal Acquia logo

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

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

Stephen Ollman’s picture

+1 #6