Skip to content

Export to HTML replaces some special characters with unusual characters #1624

@dtgay

Description

@dtgay

My setup

I am running Boostnote 0.10.0 on High Sierra 10.13.3. My broswer is Firefox Quantum 58.0.2 (64-bit).

The symptoms

Using the export to HTML feature renders some characters incorrectly. For example, the character is rendered as either – or – , as seen here:
image

It looks like the  occur where &nbsps are, as seen in the developer tools here:
image

In addition, apostrophes (') render as ’, as seen below:
image

In the developer tools, here is the same instance of isn't:
image

Example files

Attached is a note file and its HTML export that demonstrate the issue. I changed the cson and html file extensions to txt so GitHub would accept them.

403e979b9127baf0d473.txt
export.txt

(I can't provide the exact file I noticed the bug on because it contains private information, but I am providing a heavily censored duplicate which shows the same symptoms.)

EDIT: Another example is double quotes (") being replaced as well. "Internet of Things" is rendered as below:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Issue concerns a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions