mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix links in search results.
This commit is contained in:
@@ -1,17 +1,15 @@
|
|||||||
var searchIndex = {};
|
var searchIndex = {};
|
||||||
|
|
||||||
//{%- for class in classes %}
|
{% for class in classes -%}
|
||||||
searchIndex["{{ class.name }}"] = {
|
searchIndex["{{ class.name }}"] = {
|
||||||
"items": [
|
"items": [
|
||||||
[0, "", "{{ class.name }}", "{{ class.short_description|replace('\n', ' ')|replace('\"', '"') }}"],
|
[0, "", "{{ class.name }}", "{{ class.short_description|replace('\n', ' ')|replace('\"', '"')|parse_links|replace('"', '\\"') }}"],
|
||||||
//{%- for method in class.methods %}
|
{%- for method in class.methods %}
|
||||||
[3, "{{ method.name }}", "", "{{ method.short_description|replace('\n', ' ')|replace('\"', '"') }}"],
|
[3, "{{ method.name }}", "", "{{ method.short_description|replace('\n', ' ')|replace('\"', '"')|parse_links|replace('"', '\\"') }}"],
|
||||||
//{%- endfor %}
|
{%- endfor %}
|
||||||
],
|
],
|
||||||
"paths": [
|
"paths": []
|
||||||
|
|
||||||
]
|
|
||||||
};
|
};
|
||||||
//{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
initSearch(searchIndex);
|
initSearch(searchIndex);
|
||||||
Reference in New Issue
Block a user