Member:
Markus ⋅
Date: March 4, 2010, 10:19 PM
⋅ Subject: "Re: Popup module description doesn't work for News module."
There is a bug in the module description mouseover javascript seen in the site header; it breaks when you use quotes. Here is the solution.
It seems that the use of "quotes" breaks it. If you want to fix this (as I just have for the 1.21.1 build), open up class_templates.php at #1570 and change the following:
$data['module_mo_description'] = addslashes($data['module_description']);
To:
$data['module_mo_description'] = addslashes(htmlspecialchars($data['module_description']));
This converts the quote into a HTML entity and will let it pass through. I have tested this in our demo, and you can now see that the News module description now also works with quotes.