[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linterna-magica-commit] [22] Backport to 0.0.9: Fix for YouTube.
From: |
Ivaylo Valkov |
Subject: |
[linterna-magica-commit] [22] Backport to 0.0.9: Fix for YouTube. |
Date: |
Thu, 24 Mar 2011 20:50:52 +0000 |
Revision: 22
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=22
Author: valkov
Date: 2011-03-24 20:50:52 +0000 (Thu, 24 Mar 2011)
Log Message:
-----------
Backport to 0.0.9: Fix for YouTube. They now use Unicode escape character for
the ampersand in video links.
Modified Paths:
--------------
branches/0.0.9/src/lm_site_youtube.js
Property Changed:
----------------
branches/0.0.9/
Property changes on: branches/0.0.9
___________________________________________________________________
Modified: svn:mergeinfo
- /trunk:6,9,11,13,19
+ /trunk:6,9,11,13,19,21
Modified: branches/0.0.9/src/lm_site_youtube.js
===================================================================
--- branches/0.0.9/src/lm_site_youtube.js 2011-03-24 20:47:57 UTC (rev 21)
+++ branches/0.0.9/src/lm_site_youtube.js 2011-03-24 20:50:52 UTC (rev 22)
@@ -126,7 +126,7 @@
}
link.label = link_data[1] + " " +label;
- link.url = fmt_url_map[fmt_id];
+ link.url = fmt_url_map[fmt_id].replace(/\\u0026/g,"&");
this.log("LinternaMagica.create_youtube_links:\n"+
"Extracted link : "+link.url,4);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [linterna-magica-commit] [22] Backport to 0.0.9: Fix for YouTube.,
Ivaylo Valkov <=