diff options
-rwxr-xr-x | src/template.cpp | 4 | ||||
-rw-r--r-- | templates/html/htmljssearchindex.tpl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/template.cpp b/src/template.cpp index 13ce7ef..a9c5421 100755 --- a/src/template.cpp +++ b/src/template.cpp @@ -1317,7 +1317,7 @@ class FilterUpper //-------------------------------------------------------------------- /** @brief The implementation of the "e" filter */ -class FilterHtmlEscape +class FilterEscape { public: static TemplateVariant apply(const TemplateVariant &v,const TemplateVariant &) @@ -1413,7 +1413,7 @@ static TemplateFilterFactory::AutoRegister<FilterList> fList("list static TemplateFilterFactory::AutoRegister<FilterLower> fLower("lower"); static TemplateFilterFactory::AutoRegister<FilterUpper> fUpper("upper"); static TemplateFilterFactory::AutoRegister<FilterAppend> fAppend("append"); -static TemplateFilterFactory::AutoRegister<FilterHtmlEscape> fEscape("e"); +static TemplateFilterFactory::AutoRegister<FilterEscape> fEscape("escape"); static TemplateFilterFactory::AutoRegister<FilterLength> fLength("length"); static TemplateFilterFactory::AutoRegister<FilterNoWrap> fNoWrap("nowrap"); static TemplateFilterFactory::AutoRegister<FilterFlatten> fFlatten("flatten"); diff --git a/templates/html/htmljssearchindex.tpl b/templates/html/htmljssearchindex.tpl index b23e19e..c963434 100644 --- a/templates/html/htmljssearchindex.tpl +++ b/templates/html/htmljssearchindex.tpl @@ -3,7 +3,7 @@ var searchData = [ {% for group in si.symbolGroups %} ['{{ group.id }}_{{ symbolCount }}',['{{ group.name }}',{% spaceless %}{% for sym in group.symbols %}['{{ sym.relPath }}{{ sym.fileName }}{{ config.HTML_FILE_EXTENSION }}{% if sym.anchor %}#{{ sym.anchor }}{% endif %}', {% if not config.EXT_LINKS_IN_WINDOW %}1{% else %}0{% endif %}, -'{{ sym.scope|nowrap|e }}'] +'{{ sym.scope|nowrap|escape }}'] {% if not forloop.last %},{% endif %} {% endfor %} {% update symbolCount=symbolCount+1 %} |