<commit_before>export default Ember.Route.extend({
  model: function(tag) {
    var self = this;
    tag.tag_id = tag.tag_id.replace(/[^a-z0-9 ]/, '');
    return Discourse.TopicList.list('tagging/tag/' + tag.tag_id).then(function(list) {
      self.set('list', list);
      return tag;
    });
  },

  setupController: function(controller, model) {
    controller.set('tag', model);<commit_msg>FIX: Allow non a-z characters in tag names<commit_after>export default Ember.Route.extend({
  model: function(tag) {
    var self = this;
    return Discourse.TopicList.list('tagging/tag/' + tag.tag_id).then(function(list) {
      self.set('list', list);
      tag.tag_id = Handlebars.Utils.escapeExpression(tag.tag_id);
      return tag;
    });
  },

  setupController: function(controller, model) {
    controller.set('tag', model);
{'fraction_non_alphanumeric': 0.1602409638554217, 'fraction_numerical': 0.0024096385542168677, 'mean_word_length': 3.6166666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5827101', 'n_tokens_mistral': 275, 'n_tokens_neox': 271, 'n_words': 50}