X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=www%2Fjs%2Fblerg.js;h=22fbdedce458c11c65fc85f23d36c5873dffdf4d;hb=ef568497bf23c8fe38e378f20c175ea6accc7b2f;hp=1f413ad3a240de0d8dc8a3f2b83ea51b4a7d2c68;hpb=db45aeacb003f72b853abbccd6f722770732438b;p=blerg.git diff --git a/www/js/blerg.js b/www/js/blerg.js index 1f413ad..22fbded 100644 --- a/www/js/blerg.js +++ b/www/js/blerg.js @@ -264,8 +264,8 @@ function mangleRecord(record, template) { record.data = record.data.replace(/(\s)\*([^*]+)\*(\s)/g, '$1$2$3'); // Turn refs and tags into links - record.data = record.data.replace(/(\s|^)#([A-Za-z0-9_-]+)/g, '$1#$2'); - record.data = record.data.replace(/(\s|^)@([A-Za-z0-9_-]+)/g, '$1@$2'); + record.data = record.data.replace(/(\s|^)#([A-Za-z0-9_-]+)/g, '$1#$2'); + record.data = record.data.replace(/(\s|^)@([A-Za-z0-9_-]+)/g, '$1@$2'); // Turn newlines into linebreaks and paragraphs record.data = record.data.replace(/\r?\n\r?\n/g, "

").replace(/\r?\n/g, "
");