Context
Adding some image alt text and description with special chars that appear bad encoded, visible to end-reader through glightbox plugin.
Bug description
Mkdocs.yml :
site_name: "Test Material image title encoding"
theme:
name: material
font: false
plugins:
- info
- privacy
Input markdown:
# Welcome to MkDocs
For full documentation visit [mkdocs.org](https://www.mkdocs.org).
## Commands
* `mkdocs new [dir-name]` - Create a new project.
* `mkdocs serve` - Start the live-reloading docs server.
* `mkdocs build` - Build the documentation site.
* `mkdocs -h` - Print help message and exit.
## Project layout
mkdocs.yml # The configuration file.
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.
## Image with title

Output HTML :
[...]
<h2 id="image-with-title">Image with title</h2>
<p>
<img
alt="Cette capture d'écran est très intéressante"
src="assets/external/squidfunk.github.io/mkdocs-material/assets/screenshots/navigation-tabs.png"
/>
</p>
[...]
Related links
Reproduction
example.zip
Steps to reproduce
- Add
privacy to mkdocs.yml
- Add image with an alt text with special characters.
- Build & look at the HTML
Browser
Chrome, Firefox
Before submitting
Context
Adding some image alt text and description with special chars that appear bad encoded, visible to end-reader through glightbox plugin.
Bug description
Mkdocs.yml :
Input markdown:
Output HTML :
Related links
Reproduction
example.zip
Steps to reproduce
privacyto mkdocs.ymlBrowser
Chrome, Firefox
Before submitting