| Issue 45: | Usage of html-link in title breaks the opened window | |
| 2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. Add html-code (<a href ..>) as your title
2. Click on pic to open the window
What is the expected output? What do you see instead?
I'd expect the output to be displayed correctly. It's broken after the
"href"-attribute starts.
What version of the product are you using? On what operating system?
1.2.6, Windows (IE, Mozilla), MacOS (Mozilla, Safari)
Please provide any additional information below.
The problem is the following line (335):
modal.tmp.html('<img id="nyroModalImg" alt="'+title+'" />');
Use following line instead and you don't have any problems:
modal.tmp.html('<img id="nyroModalImg" />').find("img").attr('alt', title);
Aug 17, 2008
Project Member
#1
nyro...@gmail.com
Status:
Fixed
Oct 22, 2008
Your fix is now included in the latest release 1.3.0 |