Commit e6b872ea authored by Felipe Artur's avatar Felipe Artur

Escape single quotes from gl dropdown

parent 6b8d61d1
......@@ -580,6 +580,8 @@
// Create the list item & the link
var link = document.createElement('a');
if (text) { text = text.replace(/'/g, "'"); }
link.href = url;
link.textContent = text;
......
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