Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links to internal headers with some special characters not working in exported HTML #1768

Open
Bubka opened this issue Mar 29, 2018 · 1 comment
Labels
bug 🐛 Issue concerns a bug. level 1 ❕ A bug that caused minor damage: App is still usable, but minor features might not work.

Comments

@Bubka
Copy link

Bubka commented Mar 29, 2018

Hello,

When exporting a note as HTML, links to internal headers with some special characters (like é,è,ê) do not work.

The Markdown header code:
## Objectif & Mode opératoire
The Markdown link code:
[Objectif & mode opératoire](#Objectif-Mode-opératoire)

(This link works in BoostNotes)


The HTML exported code of the header
<h2 data-line="13" id="Objectif-Mode-op%C3%A9ratoire">Objectif &amp; Mode opératoire</h2>
The HTML exported code of the link:
<a href="#Objectif-Mode-op%C3%A9ratoire">Objectif &amp; mode opératoire</a>

It seems to be a normal behavior of web browsers (at least for IE and FF).
If I replace the encoded string by the corresponding character in the href attribute of the HTML file, it works:

<a href="#Objectif-Mode-opératoire">Objectif &amp; mode opératoire</a>
@ValGibello
Copy link

ValGibello commented Oct 29, 2018

I can confirm the issue. However, I found that the links generated with a TOC won't work in Boostnote either if the titles include special characters.

@ZeroX-DG ZeroX-DG added the bug 🐛 Issue concerns a bug. label Oct 29, 2018
@Flexo013 Flexo013 added the level 1 ❕ A bug that caused minor damage: App is still usable, but minor features might not work. label Jul 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Issue concerns a bug. level 1 ❕ A bug that caused minor damage: App is still usable, but minor features might not work.
Projects
None yet
Development

No branches or pull requests

4 participants