# HG changeset patch # User Nathan Phillip Brink # Date 2012-10-25 00:04:37 # Node ID 9a492df563475996550a139f90cf0a75a7f5b07e # Parent 490910f07d796b128dd94389a496656304991eff Fix qTips not appearing for certain courses because of partial XML underquoting. Some courses which had ampersands in their titles would cause XML parsing errors in the browser when trying to display the qTip, resulting in the qTip not showing for those courses. This is because the qTip’s content is inserted as XHTML into the document, so it needs to be doubly encoded. diff --git a/inc/class.schedule.php b/inc/class.schedule.php --- a/inc/class.schedule.php +++ b/inc/class.schedule.php @@ -766,13 +766,14 @@ class Schedule else $title .= ' '; - $carret = ' ' . htmlentities("
"); + $carret = '
'; echo ' ' . '' . htmlentities($title) . '' . PHP_EOL