BoostNote-Legacy icon indicating copy to clipboard operation
BoostNote-Legacy copied to clipboard

$ rendered as \$ in a block code

Open drebaud opened this issue 8 years ago • 11 comments

Current behavior

$ are rendered as \$ in a code block

This code

export FOLDER=/Users/dev/projects/myproject
# création d'un environnement virtuel
python -m venv $PRJ

produce the following screen (see also #2242 issue).

capture d ecran 2018-07-25 a 08 42 21

capture d ecran 2018-07-25 a 08 57 50

Expected behavior

capture d ecran 2018-07-25 a 08 43 56

Steps to reproduce

  1. type $ in a block code

Environment

  • Version : 0.11.8
  • OS Version and name : macOS High Sierra (0.13.6 (17G65))

drebaud avatar Jul 25 '18 07:07 drebaud

Preferences => Interface => Sanitization => Allow dangerous html tags

image

yavuz1986 avatar Jul 25 '18 07:07 yavuz1986

Hi @yavuz1986, thanks for this tip which works (and solve also the issue #2242), but this solution is unobvious and I think it is still a bug: the content of a block code has no reason to be interpreted as a latex equation.

I leave it up to the developers to decide if it's really a bug or point to explain in the documentation.

drebaud avatar Jul 25 '18 08:07 drebaud

@boostio funded this issue with $40. Visit this issue on Issuehunt

IssueHuntBot avatar Jul 30 '18 10:07 IssueHuntBot

For me this seems to be a bug since this also appears on other languages like kotlin. It would make sense when this is only for the html code blocks and not for each language.

DFelten avatar Jul 30 '18 13:07 DFelten

image

This also happens with a bash codeblock and, I suppose, with each languages. The workaround works fine but this clearly seems to be a bug

MayakoAelys avatar Aug 02 '18 10:08 MayakoAelys

Calm down guys, we already have PRs for this bug. This bug will be fixed soon, probably in the next version, please just leave your code as is, no need to edit your code.

ZeroX-DG avatar Aug 02 '18 11:08 ZeroX-DG

I apologize @ZeroX-DG if you have been offensed. I just wanted to help you all, if I could, by giving more informations.

MayakoAelys avatar Aug 02 '18 11:08 MayakoAelys

It's good to give more information @MayakoLyyn , what you're doing is good, I don't feel offensed at all. It's just, there are many issues about this bug and I just want to tell people that we already know and have solution for this bug so you guys don't need to create more issues about this bug unless something strange related to this bug happened.

ZeroX-DG avatar Aug 02 '18 11:08 ZeroX-DG

@ZeroX-DG exactly my thought. GitHub has been bloated with duplicated issues since the last release. lol

ghost avatar Aug 02 '18 23:08 ghost

@boostio cancelled funding, $40, of this issue. Visit this issue on Issuehunt

IssueHuntBot avatar Aug 05 '18 01:08 IssueHuntBot

https://github.com/BoostIO/Boostnote/issues/2217

Rokt33r avatar Aug 09 '18 07:08 Rokt33r