X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/919a5d574aac85d55b6cfd17f0a81dd5ff56265a..6d80d9682f0487d7858d5a18221cbe68e41d38ad:/wolnelektury/templates/newsearch/search.html diff --git a/wolnelektury/templates/newsearch/search.html b/wolnelektury/templates/newsearch/search.html index ad7fd153b..c494ca602 100644 --- a/wolnelektury/templates/newsearch/search.html +++ b/wolnelektury/templates/newsearch/search.html @@ -10,7 +10,7 @@ {% block body %} <h1>Search</h1> - <form action="{% url newsearch %}" method="get" accept-charset="utf-8" id="search-form-x"> + <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form-x"> <p> <input type="text" name="q" value="{{request.GET.q}}" style="width:250px; font-size: 1.2em;"> <input type="submit" value="{% trans "Search" %}" /> @@ -32,7 +32,7 @@ {% for hit in result.hits %} <li> {% for snip in hit.3.snippets %} - {{snip}}<br/> + {{snip|safe}}<br/> {% endfor %} </li> {% endfor %}