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

Markdown code blocks not rendered correctly #3171

Closed
1 of 6 tasks
stonewareslord opened this issue Jun 5, 2016 · 12 comments
Closed
1 of 6 tasks

Markdown code blocks not rendered correctly #3171

stonewareslord opened this issue Jun 5, 2016 · 12 comments
Assignees
Labels
💊 bug Something isn't working status: needs feedback Tell me more about it 🤷 third-party It's someone else's shit
Milestone

Comments

@stonewareslord
Copy link

We DO NOT take questions or config/deploy problems on GitHub, please use our forum: https://discuss.gogs.io

Please take a moment to search that an issue doesn't already exist.

For bug reports, please give the relevant info:

Description

Using the characters []: breaks a code block and renders the entire line and sometimes the next line blank.

@bkcsoft
Copy link
Contributor

bkcsoft commented Jun 8, 2016

I'll have a look at this tomorrow, but it's most likely a bug in blackfriday (the markdown-parser/renderer) and not Gogs itself.

@bkcsoft bkcsoft self-assigned this Jun 8, 2016
@bkcsoft bkcsoft added the 💊 bug Something isn't working label Jun 8, 2016
@bkcsoft
Copy link
Contributor

bkcsoft commented Jun 8, 2016

@bkcsoft bkcsoft added the 🤷 third-party It's someone else's shit label Jun 8, 2016
@xor-gate
Copy link

@bkcsoft is this reported upstream to russross/blackfriday ?, this would be a good idea and cross-reference to this issue also.

@bkcsoft
Copy link
Contributor

bkcsoft commented Jul 3, 2016

Not yet, I'll do that now :)

@xor-gate
Copy link

xor-gate commented Jul 5, 2016

Define now @bkcsoft :+), i looked at the issue tracker of russross/blackfriday and have not yet seen the issue.

@bkcsoft
Copy link
Contributor

bkcsoft commented Jul 11, 2016

@xor-gate "now" as in now :trollface: russross/blackfriday#279

Sorry, other issues have had priority :)

@bkcsoft bkcsoft added the status: reported upstream Oh, this gonna be fun label Jul 12, 2016
@xor-gate
Copy link

👍 first things first, good for having this also active upstream.

@unknwon unknwon added the status: await It is time consuming label Jul 15, 2016
@dmitshur
Copy link

dmitshur commented Jul 15, 2016

Thanks for reporting the bug in blackfriday. I've fixed it in russross/blackfriday#280, so this should no longer be an issue.

You'll need to update to latest version if you're vendoring blackfriday.

@xor-gate
Copy link

Nice work @shurcooL !!!

@unknwon unknwon added status: needs feedback Tell me more about it and removed status: await It is time consuming status: reported upstream Oh, this gonna be fun labels Jul 16, 2016
@unknwon unknwon added this to the 0.10.0 milestone Jul 16, 2016
@unknwon
Copy link
Member

unknwon commented Jul 16, 2016

Looks like fixed: https://try.gogs.io/stonewareslord/test/src/master/test.md

@unknwon unknwon closed this as completed Jul 17, 2016
@gsantner
Copy link

Happens still on my gogs. version 0.9.83.0816.

bildschirmfoto von 2016-08-25 18-29-21

@dmitshur
Copy link

dmitshur commented Aug 26, 2016

@gsantner, can you please check if that problem occurs in the latest master version of blackfriday?

If so, please report it in that repo. Otherwise, gogs just needs to update the outdated vendored version it's using.

Also, are you using latest version of gogs? If not, try latest.

ethantkoenig pushed a commit to ethantkoenig/gogs that referenced this issue Feb 6, 2018
* Added progressbar for issues (gogs#1146).

* Updated the generated index.css.

Signed-off-by: modmew8 <modmew8@gmail.com>

* Removed stored progress percentage and changed it to css calc. Also added the issue task progress to the user/dashboard/issues.

Signed-off-by: modmew8 <modmew8@gmail.com>

* Removed unnecessary blanks.

Signed-off-by: modmew8 <modmew8@gmail.com>

* Formatted the files correctly, fmt-check terminates now without errors.

Signed-off-by: modmew8 <modmew8@gmail.com>

* Removed variables, made computing the tasks on demand with precompiled regexp.

Signed-off-by: modmew8 <modmew8@gmail.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
💊 bug Something isn't working status: needs feedback Tell me more about it 🤷 third-party It's someone else's shit
Projects
None yet
Development

No branches or pull requests

6 participants