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

HTML export/Copy Encoding problem #29

Open
DVW-Design opened this issue Jul 28, 2022 · 3 comments
Open

HTML export/Copy Encoding problem #29

DVW-Design opened this issue Jul 28, 2022 · 3 comments

Comments

@DVW-Design
Copy link

Before you open an issue, please check if a similar issue already exists or has been closed before.

Expected behavior

Exported HTML code should not alter diactritic signs. Encoding is wrong.
Event if setting mjml.minifyHtmlOutput is set to false

Actual behavior

HTML Code export is not exploitable. I have to use mjml.app to copy/export code

Steps to reproduce the problem

  1. Open mjml file
  2. Export html or copy HTML command via VSCode
  3. Paste the code in text editor

Code sample

<tr><td align="left" class="text dark-mode-text" style="font-size:0px;padding:0px 0px 54px 0px;word-break:break-word;"><div style="font-family:Trebuchet MS;font-size:30px;font-weight:400;letter-spacing:0px;line-height:35px;text-align:left;color:#ffffff;">Bien plus qu'un simple slogan, le c**√©l√®**bre ‚**Äú**Vorsprung durch Technik‚**Äù** <em>(L**‚Äô**avance par la technologie)</em> est l'expression d'un √©tat d'esprit. Entre innovation et progr√®s,<br>Audi n‚Äôa de cesse de r**√©**inventer la mobilit√© de demain.</div></td></tr>

Screenshot / GIF

Capture 2022-07-28_07-17-10_PM

## Specifications
  • VS Code version: 1.69.2
  • MJML extension version: 1.0.5
  • Operating system and version: MacOS X 12.4 Monterey (Darwin x64 21.5.0)
@alejandrosrez
Copy link

In my case it only happens when using the "Copy" functionality. If I use the "Export" one it works (with Spanish/Catalan accents).

@DVW-Design
Copy link
Author

DVW-Design commented Aug 2, 2022 via email

@iRyusa
Copy link
Member

iRyusa commented Oct 27, 2024

Can you check with 2.x ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants