mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-23 23:21:00 +01:00
Fixed HTML entities appearing in search result titles
This commit is contained in:
parent
2f5a4c1e93
commit
8a01e0cc8c
@ -1,3 +1,7 @@
|
||||
mkdocs-material-4.0.2 (2019-03-01)
|
||||
|
||||
* Fixed #1012: & appears in search results
|
||||
|
||||
mkdocs-material-4.0.1 (2019-02-13)
|
||||
|
||||
* Fixed #762, #816: Glitch in sidebar when collapsing items
|
||||
|
@ -64,6 +64,10 @@ pip show mkdocs-material
|
||||
|
||||
## Changelog
|
||||
|
||||
### 4.0.2 <small>_ March 1, 2019</small>
|
||||
|
||||
* Fixed #1012: HTML character entities appear in search result titles
|
||||
|
||||
### 4.0.1 <small>_ February 13, 2019</small>
|
||||
|
||||
* Fixed #762, #816: Glitch in sidebar when collapsing items
|
||||
|
File diff suppressed because one or more lines are too long
@ -41,7 +41,7 @@
|
||||
<meta name="lang:{{ key }}" content="{{ lang.t(key) }}">
|
||||
{% endfor %}
|
||||
<link rel="shortcut icon" href="{{ config.theme.favicon | url }}">
|
||||
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-4.0.1">
|
||||
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-4.0.2">
|
||||
{% endblock %}
|
||||
{% block htmltitle %}
|
||||
{% if page and page.meta and page.meta.title %}
|
||||
@ -190,7 +190,7 @@
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/application.43ad2ac2.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/application.955ddd4c.js' | url }}"></script>
|
||||
{% if lang.t("search.language") != "en" %}
|
||||
{% set languages = lang.t("search.language").split(",") %}
|
||||
{% if languages | length and languages[0] != "" %}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mkdocs-material",
|
||||
"version": "4.0.1",
|
||||
"version": "4.0.2",
|
||||
"description": "A Material Design theme for MkDocs",
|
||||
"keywords": [
|
||||
"mkdocs",
|
||||
|
@ -158,7 +158,6 @@ export default class Result {
|
||||
const [path, hash] = doc.location.split("#")
|
||||
|
||||
/* Escape HTML */
|
||||
doc.title = escapeHTML(doc.title)
|
||||
doc.text = escapeHTML(doc.text)
|
||||
|
||||
/* Associate section with parent document */
|
||||
|
Loading…
Reference in New Issue
Block a user