Browse files

Strip content in <script> tag by default:

  • Loading branch information...
1 parent 93f8646 commit ea61d9272ab5807ddc582048cce60d7ae42e3819 Roman Semirook committed Dec 7, 2011
Showing with 12 additions and 11 deletions.
  1. +12 −11 djangosphinx/templates/sphinx/index.conf
View
23 djangosphinx/templates/sphinx/index.conf
@@ -1,13 +1,14 @@
index {{ index_name }}
{
- source = {{ source_name }}
- path = {{ data_path }}/{{ index_name }}
- docinfo = extern
- morphology = stem_enru
- min_word_len = 2
- charset_type = utf-8
- html_strip = 1
- min_prefix_len = 0
- min_infix_len = 3
- enable_star = 1
-}
+ source = {{ source_name }}
+ path = {{ data_path }}/{{ index_name }}
+ docinfo = extern
+ morphology = stem_enru
+ min_word_len = 2
+ charset_type = utf-8
+ html_strip = 1
+ html_remove_elements = script
+ min_prefix_len = 0
+ min_infix_len = 3
+ enable_star = 1
+}

0 comments on commit ea61d92

Please sign in to comment.