diff options
| author | hukl <contact@smyck.org> | 2009-10-31 19:32:05 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-10-31 19:32:05 +0100 |
| commit | 69bd0fc977e0cd90696d91635ba0b9dc7d0b08a7 (patch) | |
| tree | 5c8508baecadf1bdff8200657f60b67172563742 | |
| parent | a2671e54c3abfcdc14b95f262d0bb6d016a938ff (diff) | |
output escape for search terms
| -rw-r--r-- | app/views/search/index.html.erb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/search/index.html.erb b/app/views/search/index.html.erb index 28764bf..4c609a3 100644 --- a/app/views/search/index.html.erb +++ b/app/views/search/index.html.erb | |||
| @@ -1,9 +1,7 @@ | |||
| 1 | <h2>Suche</h2> | 1 | <h2>Suche</h2> |
| 2 | 2 | ||
| 3 | |||
| 4 | |||
| 5 | <% if params[:search_term] %> | 3 | <% if params[:search_term] %> |
| 6 | <h3>Suchergebnisse für Suchbegriff: <%= params[:search_term] %></h3> | 4 | <h3>Suchergebnisse für Suchbegriff: <%=h params[:search_term] %></h3> |
| 7 | <% end %> | 5 | <% end %> |
| 8 | 6 | ||
| 9 | <%= | 7 | <%= |
