Replace & by & in learning paths - refs #7585

1.9.x
Yannick Warnier 11 years ago
parent d39501e329
commit 1610e818ed
  1. 1
      main/inc/lib/display.lib.php

@ -832,6 +832,7 @@ class Display
public static function url($name, $url, $extra_attributes = array())
{
if (!empty($url)) {
$url = preg_replace('#&#', '&', $url);
$url = htmlspecialchars($url, ENT_QUOTES, 'UTF-8');
$extra_attributes['href'] = $url;
}

Loading…
Cancel
Save