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

org-mode parser isn't parsing nested lists #3122

Closed
jrmiller82 opened this issue Dec 8, 2017 · 9 comments
Closed

org-mode parser isn't parsing nested lists #3122

jrmiller82 opened this issue Dec 8, 2017 · 9 comments
Labels
status/blocked This PR cannot be merged yet, i.e. because it depends on another unmerged PR type/bug

Comments

@jrmiller82
Copy link

jrmiller82 commented Dec 8, 2017

The org-mode parser isn't parsing nested lists.

I.e.

- Bullet
- Bullet
  - Sub Bullet
  - Sub Bullet

Should show up with the sub bullets indented and nested. They show up as same level in gitea output.

Gitea 1.3.0 sqlite3
Linux amd64

Can you reproduce the bug at https://try.gitea.io? Yes

https://try.gitea.io/poop/org-issues/src/branch/master/README.org
capture

@lunny lunny added the type/bug label Dec 9, 2017
@lunny lunny added this to the 1.x.x milestone Dec 9, 2017
@sondr3
Copy link
Contributor

sondr3 commented Dec 9, 2017

This isn't a bug with Gitea though, but rather with goorgeous.

@lunny lunny added the status/blocked This PR cannot be merged yet, i.e. because it depends on another unmerged PR label Dec 9, 2017
@lunny
Copy link
Member

lunny commented Dec 9, 2017

@jrmiller82 could you also send an issue to https://github.com/chaseadamsio/goorgeous and reference to this one.

@jrmiller82
Copy link
Author

Done. curiouslychase/goorgeous#75

@monkeyhybrid
Copy link

monkeyhybrid commented May 21, 2018

Apologies, for I have realised my comment is not applicable to this issue. I've created a new issue.

@jrmiller82 - can you confirm if this only happens on double (and more) nested lists?

For me, nested lists work for the top level, and the first level of nested, but anything deeper than that is shown flat. However, I can force deeper levels of nesting to work by using twice as much indenting as you'd normally expect.

So the following Markdown, using the normal two (2) spaces per level of nesting:

[code deleted]

As you can see, Level 3 is not being nested any deeper in the HTML than Level 2.

However, if I use four (4) spaces for each list indent, on Level 3 and deeper, all levels nest correctly:

[code deleted]

I see this on both my own installation and try.gitea.io.

I can add this to the issue @jrmiller82 raised on chaseadamsio/goorgeous if that is appropriate.

@jrmiller82
Copy link
Author

jrmiller82 commented May 21, 2018 via email

@monkeyhybrid
Copy link

@jrmiller82 - Sorry, please ignore my message. I just re-read your original issue and realised it has nothing to do with Markdown. I've edited my comments on this issue, and have created a new issue.

@lunny
Copy link
Member

lunny commented May 22, 2018

@jrmiller82 test it on https://try.gitea.io

@Ekleog
Copy link

Ekleog commented Sep 9, 2019

goorgeous has since been deprecated and is pointing to go-org as a replacement, so fixing this would likely mean switching to go-org

@6543
Copy link
Member

6543 commented Sep 6, 2020

Is not present on current master anymore

@6543 6543 closed this as completed Sep 6, 2020
@lunny lunny removed this from the 1.x.x milestone Sep 8, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/blocked This PR cannot be merged yet, i.e. because it depends on another unmerged PR type/bug
Projects
None yet
Development

No branches or pull requests

6 participants