<commit_before><section id="no-search-results">

  <i class="icon-search"></i>

  <p class="no-results-found">

    <?php echo __('No results found.') ?>

    <?php if (isset($suggestion)): ?>
      <?php $sf_params->set('query', esc_entities($suggestion['text'])) ?>
      <span class="suggestion">
        <?php echo __('Did you mean %1%?', array(
          '%1%' => link_to($suggestion['text'],
            $sf_params->getAll()))) ?>
      </span>
    <?php endif; ?>

  </p>

</section><commit_msg>Prevent param override, fixes #7136<commit_after><section id="no-search-results">

  <i class="icon-search"></i>

  <p class="no-results-found">

    <?php echo __('No results found.') ?>

    <?php if (isset($suggestion)): ?>
      <?php $params = $sf_params->getAll() ?>
      <?php $params['query'] = $suggestion['text'] ?>
      <span class="suggestion">
        <?php echo __('Did you mean %1%?', array('%1%' => link_to($suggestion['text'], $params))) ?>
      </span>
    <?php endif; ?>

  </p>

</section>
{'fraction_non_alphanumeric': 0.2334975369458128, 'fraction_numerical': 0.007881773399014778, 'mean_word_length': 3.2510460251046025, 'pattern_counts': {'":': 0, '<': 30, '<?xml version=': 0, '>': 35, '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': '976966', 'n_tokens_mistral': 361, 'n_tokens_neox': 339, 'n_words': 73}