<commit_before>Meteor.startup(function () {
  // Make external links open in a new tab.
  // XXX doesn't work in multipage
  $('a:not([href^="#"])').attr('target', '_blank');
});

check_links = function() {
  var body = document.body.innerHTML;

  var id_set = {};

  body.replace(/id\s*=\s*"(.*?)"/g, function(match, id) {
    if (! id) return;
    if (id_set['$'+id]) {<commit_msg>Don't force external links to open in a new tab<commit_after>check_links = function() {
  var body = document.body.innerHTML;

  var id_set = {};

  body.replace(/id\s*=\s*"(.*?)"/g, function(match, id) {
    if (! id) return;
    if (id_set['$'+id]) {
{'fraction_non_alphanumeric': 0.215748031496063, 'fraction_numerical': 0.0, 'mean_word_length': 3.6423357664233578, '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': '2857333', 'n_tokens_mistral': 237, 'n_tokens_neox': 229, 'n_words': 55}