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

[BUG]code block can not render space correctly #1995

Closed
l1b0k opened this issue May 29, 2018 · 10 comments
Closed

[BUG]code block can not render space correctly #1995

l1b0k opened this issue May 29, 2018 · 10 comments
Labels
bug 🐛 Issue concerns a bug.

Comments

@l1b0k
Copy link

l1b0k commented May 29, 2018

Current behavior

code block can not render space correctly

Expected behavior

Steps to reproduce

  1. write a code block
+++++++++++++++++    +++++++++++++++++
+      ns0      +    +      ns1      +
+  -----------  +    +  -----------  +
+  |  veth0  |----------|  veth1  |  +
+  -----------  +    +  -----------  +
+++++++++++++++++    +++++++++++++++++
  1. Not correctly rendered

Environment

  • Version :0.11.5
  • OS Version and name : win
@l1b0k
Copy link
Author

l1b0k commented Jun 4, 2018

for more, it is not happen on OS X,Version 0.11.5

@IssueHuntBot
Copy link

@BoostIO funded this issue with $10. Visit this issue on Issuehunt

@siavee
Copy link

siavee commented Sep 22, 2018

This does not happen anymore in Windows version 0.11.9

@kazup01 kazup01 added bug 🐛 Issue concerns a bug. bounty labels Nov 7, 2018
@richardtks
Copy link
Contributor

@l1b0k, can you confirm whether this issue still persists?

@l1b0k
Copy link
Author

l1b0k commented Dec 19, 2018

@richardtks ,i can confirm the problem still in Boostnote 0.11.12 (win)

  1. new install Boostnote 0.11.12 with default config
  2. copy code block i write before

the problem still there

@roottool
Copy link
Contributor

roottool commented Dec 21, 2018

@l1b0k I can confirm the problem in Boostnote 0.11.12 (Windows 10 Pro) too.
before
(※I forgot to post the CSS of the code tag before modification, so I replaced the screenshot.)

And I found the solution.
after
This bug is caused by CSS.
It can be fixed by setting the definition position of 'Segoe UI' in the font-family of the code tag as the last.
I am able to fix it, but I can not start right now because I do not know if there is intention in the font-family ordering order.

@IssueHuntBot
Copy link

@roottool has submitted a pull request. See it on IssueHunt

@IssueHuntBot
Copy link

@roottool has cancelled their pull request. See it on IssueHunt

@IssueHuntBot
Copy link

@roottool has submitted a pull request. See it on IssueHunt

Rokt33r added a commit that referenced this issue Jan 28, 2019
@IssueHuntBot
Copy link

@Rokt33r has rewarded $9.00 to @roottool. See it on IssueHunt

  • 💰 Total deposit: $10.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $1.00

@Rokt33r Rokt33r closed this as completed Jan 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Issue concerns a bug.
Projects
None yet
Development

No branches or pull requests

7 participants