Hi
Thanks for the module !
there is a problem with translated days & months strings that are injected to the page as script
the error occurs if the translated string contains the ' char ,
i found this in days , and months
so i added a small function that replace ' with \'
function t_string_safe($str){
return str_replace("'" ,"\'",t($str));
}
and called it insted of t()
I am sorry but recently i have problems with PATCHing so i just add my module here
the problem is in lines 297-316
| Comment | File | Size | Author |
|---|---|---|---|
| worldclock.module.txt | 25.17 KB | avior |
Comments
Comment #1
flevour commentedComment #2
flevour commentedCommitted a fix to 5-dev.
Comment #4
flevour commentedIssue applied to 6.x-1-x. It's now fixed in dev.