Commit 9bf657e7 authored by Camil Staps's avatar Camil Staps 🐾

Remove debug statement

parent c889e935
......@@ -157,7 +157,6 @@ Element.prototype.replaceURLs = function() {
if (node.nodeType == Node.TEXT_NODE) {
var newValue = node.nodeValue.replace(/(https?:\/\/(?:[^\s.]|\.(?!\s|$))+)/g, '<a href="$1" target="_blank">$1</a>');
if (newValue != node.nodeValue) {
console.log(newValue != node.nodeValue, newValue, node.nodeValue);
var newElement = document.createElement('span');
newElement.innerHTML = newValue;
if ('content' in this)
......
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