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

Unexpected notes reformatting #146

Open
epikgit opened this issue Nov 22, 2022 · 3 comments
Open

Unexpected notes reformatting #146

epikgit opened this issue Nov 22, 2022 · 3 comments

Comments

@epikgit
Copy link

epikgit commented Nov 22, 2022

Since the (welcomed) 1.5.0 version some of my notes are reformatted unexpectedly. I open a note and UNotes reformats it in a strange way.

For example:
**Standard Build** and not **MicroG build**
becomes
**Standard Build** and not <strong>MicroG build</strong>

A path like:
\\saturn\Disk2TB\DiskN\
becomes
\\\saturn\\Disk2TB\\DiskN\\

A double new line that was rendering with an empty line and two <br/> tags now has became two empty lines and one <br/>

A strikethrough URL was
[~~https://forum.xda-developers.com/~~]
and now is
~~[https://forum.xda-developers.com/]~~

Is it possible that the new remark-stringify addin is not so disabled by default? Otherwise I can't understand why this is happening.

@kiyoka
Copy link
Contributor

kiyoka commented Nov 28, 2022

Probably because the behavior of the editor changed when we upgraded from tui-editor 2.5 to tui-editor 3.2.1.
tui-editor was upgraded at Unotes Version 1.5. #141

The following will be most frustrating
A path like:
\\saturn\Disk2TB\DiskN\
becomes
\\\saturn\\Disk2TB\\DiskN\\

I will research it to see if the behavior can be changed.
tui-editor 3.2.1 basically escapes \ and _ with a backslash \.
It would be a better editor to disable that completely.

@kiyoka
Copy link
Contributor

kiyoka commented Nov 28, 2022

It seems that tui-editor has strange backslash behavior.
I'll see if I can do something about it.

nhn/tui.editor#2546
nhn/tui.editor#2813
nhn/tui.editor#1077

@lukastom
Copy link

lukastom commented Dec 7, 2023

Sorry to say but for me, this plugin is dangerous. It literally rewrites the markdown notes (like replacing two asterisks with strong tag). I uninstalled immediatelly and revert the rewritten note to the previous state. Fortunatelly it was only one note but with 2 200 lines.

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