Skip to content

Commit

Permalink
Update Area.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kamshory committed Nov 7, 2024
1 parent 0a3ba09 commit 899fe28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Geometry/Area.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,12 @@ public function getHTML()
$attrs[] = 'coords="' . implode(", ", $this->getCoords($this->zoom)) . '"';

if (isset($this->href)) {
$attrs[] = 'href="' . htmlspecialchars($this->href) . '"';
$attrs[] = 'href="' . $this->href . '"';
}

if (isset($this->attributes) && is_array($this->attributes)) {
foreach ($this->attributes as $key => $value) {
$attrs[] = $key . '="' . htmlspecialchars($value) . '"';
$attrs[] = $key . '="' . $value . '"';
}
}

Expand Down

0 comments on commit 899fe28

Please sign in to comment.