Boostnote: $ rendered as \$ in a block code

Created on 25 Jul 2018  路  11Comments  路  Source: BoostIO/Boostnote

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))
bug duplicate

Most helpful comment

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.

All 11 comments

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

image

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.

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

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.

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

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.

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

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 exactly my thought. GitHub has been bloated with duplicated issues since the last release. lol

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

Was this page helpful?
0 / 5 - 0 ratings