Summary | newChoice function broken |
Queue | Kronolith |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | vincent.vinet (at) revolutionlinux (dot) com |
Created | 04/11/2007 (6696 days ago) |
Due | |
Updated | 04/12/2007 (6695 days ago) |
Assigned | |
Resolved | 04/12/2007 (6695 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | Yes |
State ⇒ Resolved
the heads up. As for the HTML validation errors, does the backslash
both solve the validation issue and not create other side effects?
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ newChoice function broken
Queue ⇒ Kronolith
New Attachment: calendars.inc.patch
State ⇒ Unconfirmed
the newChoice function is broken by JavaScript that does not compile.
the two lines like this:
urlObj.innerHTML = '<em><?php echo _("Select a calendar above to
display the URL") ?></em>';
break when gettext returns a string containing a single quote, i.e. in
the fr_FR translation
Also, </em> throws a warning as to html validation, because the "/"
must be escaped ("<\/em>")
I do not know if this is an ideal solution, as it would now break with
double quotes.