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

Code block has html transference

Open Sidfate opened this issue 8 years ago • 11 comments

Current behavior

1 2

Expected behavior

No html transference

Steps to reproduce

  1. user code block
  2. ' is transferred into '

Environment

  • Version : Boostnote 0.11.8
  • OS Version and name : MacOS 10.13.4

Sidfate avatar Jul 23 '18 08:07 Sidfate

Same here for the following:

for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file; done | sort -k 2 -n -r | less

screenshot from 2018-07-23 10-50-29

createproblem avatar Jul 23 '18 08:07 createproblem

@createproblem yeah,and this happened in the newest version,as no problem in older version

Sidfate avatar Jul 23 '18 08:07 Sidfate

@Sidfate here is a workaround: https://github.com/BoostIO/Boostnote/issues/2217 that worked for me.

createproblem avatar Jul 23 '18 09:07 createproblem

with SQL syntax too.

takacsot avatar Jul 23 '18 09:07 takacsot

@createproblem Thx,but may it will be fixed in the next version. The default action is a little bit bad.

Sidfate avatar Jul 23 '18 09:07 Sidfate

Same for php code, add / before $

$variable = 3;

1

yavuz1986 avatar Jul 23 '18 13:07 yavuz1986

@takacsot @yavuz1986 Preferences->Interface-> Sanitization

Set as "Allow dangerous html tags".Problem solved.

Sidfate avatar Jul 24 '18 04:07 Sidfate

@Sidfate yeap, thanks

yavuz1986 avatar Jul 25 '18 07:07 yavuz1986

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

IssueHuntBot avatar Jul 30 '18 10:07 IssueHuntBot

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

IssueHuntBot avatar Aug 02 '18 02:08 IssueHuntBot

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

Rokt33r avatar Aug 09 '18 07:08 Rokt33r