Node.js based forum software built for the modern web
allow dots in tags
barisusakli18810e720311
diff --git a/src/topics/tags.js b/src/topics/tags.jsindex bb982ee3ef..ae53593deb 100644--- a/src/topics/tags.js+++ b/src/topics/tags.js@@ -36,9 +36,9 @@ module.exports = function(Topics) {function cleanUpTag(tag) {tag = tag.trim().toLowerCase();- tag = tag.replace(/[\.,\/#!$%\^&\*;:{}=_`<>'"~()?\|]/g, '');+ tag = tag.replace(/[,\/#!$%\^&\*;:{}=_`<>'"~()?\|]/g, '');tag = tag.substr(0, meta.config.maximumTagLength || 15);- var matches = tag.match(/^-*(.+?)-*$/);+ var matches = tag.match(/^[.-]*(.+?)[.-]*$/);if (matches && matches.length > 1) {tag = matches[1];}