code: function addRiotTags(arr) {
      var list = ''
      each(arr, function (e) {
        if (!/[^-\w]/.test(e))
          list += ',*[' + RIOT_TAG + '=' + e.trim() + ']'
      })
      return list
    }
docs: helper functions