diff --git a/js/plugins/drupalurl/plugin.js b/js/plugins/drupalurl/plugin.js
index f44724173..d3230411e 100644
--- a/js/plugins/drupalurl/plugin.js
+++ b/js/plugins/drupalurl/plugin.js
@@ -94,6 +94,8 @@
           if (attributes['data-embed-url'] === undefined) {
             return;
           }
+          // Prevent double escaping for ampersand.
+          element.attributes['data-embed-url'] = element.attributes['data-embed-url'].replace(/&amp;/g,"\x26");
           // Generate an ID for the element, so that we can use the Ajax
           // framework.
           element.attributes.id = generateEmbedId();
