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

Code block turns ' into ' #2348

Closed
fabiante opened this issue Aug 27, 2018 · 13 comments
Closed

Code block turns ' into ' #2348

fabiante opened this issue Aug 27, 2018 · 13 comments

Comments

@fabiante
Copy link

Current behavior

Currently this code block (replace ´´´ with ```):

´´´sql
select count(*)
from ARBEITET
where FIRMA = 'Lübecker Bank';
´´´

will be parsed to this:

image

Expected behavior

I'd expect this as outcome:

select count(*)
from ARBEITET
where FIRMA = 'Lübecker Bank';

Environment

  • OS Version and name : Windows 10
@mikaoelitiana
Copy link
Contributor

I don't have Windows 10 but I checked on OSX and it's working fine there so it may be related to Windows only

@fabiante
Copy link
Author

Is there any way to get my configuration file? Maybe it's worth comparing mine to yours if I have different options (which I shouldn't since I didn't change mine, but worth a try).

@ehhc
Copy link
Contributor

ehhc commented Aug 27, 2018

@fabiante your configuration file is located at %appdata%/Boostnote/preferences (which is a json file). Maybe that helps :)

edit: I'm not sure if i am correct but i think there is a known issue reporting this "unneeded/double escaping" of some signs..

@fabiante
Copy link
Author

Hmm. My config doesn't look that helpful.
Any idea why this ocurrs?

edit: I'm not sure if i am correct but i think there is a known issue reporting this "unneeded/double escaping" of some signs..

I can't find it :/

@ehhc
Copy link
Contributor

ehhc commented Aug 27, 2018

Hi @fabiante
I'm not sure but it might be possible that the issue is even fixed and will be shipped with the next release.
Have a look at this (already merged) PR: #2230

@hevi1991
Copy link

hevi1991 commented Aug 28, 2018

I got that problem in MacOS-10.13.4 too.
It happen when I copy code from other software.

and I got problem like this:

 ''
 $$

wx20180828-105147

I can't put my JavaScript code note in markdown.

@fabiante
Copy link
Author

@ehhc That seems to be the correct fix. Since #2217 is closed I'd like to keep this issue open until the update is released to prevent further issues of this nature.

@AysadKozanoglu
Copy link

AysadKozanoglu commented Aug 28, 2018

i get the same issue also
version: boostnote_0.11.8_amd64
os: ubuntu 16.04

if i write a code block that contains like var='test' than i see var=&apostest&apos, this happens in both types of content: snips and markdown type content

any idea to correct this issue ?

@AysadKozanoglu
Copy link

for me i solved it
i installed the version v0.11.9-pre.1
now highlighting for ' works correct

download:
https://github.com/BoostIO/boost-releases/releases

@LouWii
Copy link

LouWii commented Aug 28, 2018

Too bad pre-releases don't have Windows versions, I'd like to test if the issue is gone as well.

Like others, I'm having the issue with 0.11.8 on Windows 10. When entering special characters in between triple ticks, some get escaped, like $ becomes \$.

@IssueHuntBot
Copy link

@nikitka007 has started working. Visit this issue on Issuehunt

@ZeroX-DG
Copy link
Member

This issue is solved in #2230 and will appears in v0.11.9

@ghost
Copy link

ghost commented Aug 31, 2018

This has been reported a number of times. maybe it can be mentioned here as known issues to prevent further issues of this nature. (With a link to a closed issue, since it provides possible workarounds).

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

8 participants