]> git.plutz.net Git - shellwiki/blobdiff - themes/default.sh
use tags (#positive and !negative) in search
[shellwiki] / themes / default.sh
index 033dd7f7a270d14d8f88774fde0ad9737a8a40cf..0f45c591cd570773fc8e5ab036c5c7ae970dcb61 100755 (executable)
@@ -142,7 +142,7 @@ theme_search(){
        <article>
          <h1>$([ "$words" ] && _ "Search results" || _ "Search" )</h1>
          <form class="search" method="GET">
-           <input type="search" name="q" value="$(HTML $words)"><button class="search" type="submit">$(_ Search)</button>
+           <input type="search" name="q" value="$(GET q |HTML)"><button class="search" type="submit">$(_ Search)</button>
          </form>
          <ol class="searchresults">
            $(while read -r p t; do