Commit f8216de2 authored by Ahoy's avatar Ahoy

Encode

parent e5d063e3
Pipeline #35757959 passed with stages
in 48 seconds
......@@ -35,7 +35,7 @@ function yo(sel) {
var yohoho = document.createElement('div');
var attr = Array.prototype.slice.call(y.attributes);
while(a = attr.pop()) {yohoho.setAttribute(a.nodeName, encodeURIComponent(a.nodeValue));}
while(a = attr.pop()) {yohoho.setAttribute(a.nodeName, a.nodeValue);}
yohoho.innerHTML = y.innerHTML;
y.parentNode.replaceChild(yohoho, y);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment