<commit_before>{page::header()}
{page::toolbar()}

<style>

.search_header {
  margin-top:30px;
  margin-left:auto;
  margin-right:auto;
  width:90%;
}

.search {
  margin-left:auto;
  margin-right:auto;
  padding-top:0px;
  padding-bottom:0px;
  width:90%;
  clear:both;
}

.search .title {
  font-size:140%;
}
.search .score {
  float:right;
  clear:right;
  margin-top:6px;
}
.search .related {
  float:right;
}
.search .desc {
  margin-top:6px;
  display:block;
  width:80%;
}

.toggler {
  font-weight:bold;
  text-decoration:underline;
}

</style>


<form action="{$url_alloc_search}" method="get">
<table class="box">
  <tr>
    <th>Search</th>
  </tr>
  <tr>
    <td align="center" class="noprint">
      <!-- We put display:table, because the default is for .filter's to be hidden -->
      <table class="filter corner" align="center" style="display:table">
        <tr>
          <td><input type="text" size="70" name="needle" value="{$needle2}"></td>
          <td><select size="1" name="category">{$search_category_options}</select></td>
          <td><input type="submit" name="search" value="Search"></td>
	        <td><input type="checkbox" name="idRedirect" {$redir} />Disable redirection by ID</td>
	        <td><a href="{$url_alloc_helpfile}#search">Help</a></td>
        </tr>
      </table><commit_msg>BUG Added html entity escaping to the search input box.<commit_after>{page::header()}
{page::toolbar()}

<style>

.search_header {
  margin-top:30px;
  margin-left:auto;
  margin-right:auto;
  width:90%;
}

.search {
  margin-left:auto;
  margin-right:auto;
  padding-top:0px;
  padding-bottom:0px;
  width:90%;
  clear:both;
}

.search .title {
  font-size:140%;
}
.search .score {
  float:right;
  clear:right;
  margin-top:6px;
}
.search .related {
  float:right;
}
.search .desc {
  margin-top:6px;
  display:block;
  width:80%;
}

.toggler {
  font-weight:bold;
  text-decoration:underline;
}

</style>


<form action="{$url_alloc_search}" method="get">
<table class="box">
  <tr>
    <th>Search</th>
  </tr>
  <tr>
    <td align="center" class="noprint">
      <!-- We put display:table, because the default is for .filter's to be hidden -->
      <table class="filter corner" align="center" style="display:table">
        <tr>
          <td><input type="text" size="70" name="needle" value="{=$needle2}"></td>
          <td><select size="1" name="category">{$search_category_options}</select></td>
          <td><input type="submit" name="search" value="Search"></td>
	        <td><input type="checkbox" name="idRedirect" {$redir} />Disable redirection by ID</td>
	        <td><a href="{$url_alloc_helpfile}#search">Help</a></td>
        </tr>
      </table>
{'fraction_non_alphanumeric': 0.1935243766282099, 'fraction_numerical': 0.014142165984369185, 'mean_word_length': 3.563667232597623, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, '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': '1436346', 'n_tokens_mistral': 996, 'n_tokens_neox': 970, 'n_words': 186}