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

Nested table not rendered properly #312

Open
ivanhjc opened this issue Nov 19, 2019 · 10 comments
Open

Nested table not rendered properly #312

ivanhjc opened this issue Nov 19, 2019 · 10 comments

Comments

@ivanhjc
Copy link

ivanhjc commented Nov 19, 2019

In my browser (Chrome Version 77.0.3865.90) the live preview of the table

[cols="1,3,5"]
|===
| Foo | Foo | Foo

| Foo
a| Foo

[cols="1,2"]
!===
! Foo ! Foo
! Foo ! Foo
! Foo ! Foo
!===

| Foo 

| Foo | Foo | Foo
|===

looks like this

screenshot--2019 11 19-17_30_12

But it displays normally when processed to html using asciidoctor:

screenshot--2019 11 19-17_30_39

@mojavelinux
Copy link
Member

@Mogztter I think this is related to a fix that was made for the upcoming 2.0.11. See asciidoctor/asciidoctor#3370

@ggrossetie
Copy link
Member

@mojavelinux Maybe... which versions are affected? If I'm not mistaken, we are using the Asciidoctor stylesheet from version 2.0.9.

@ivanhjc Could you please share with us the output of asciidoctor -v?

@ivanhjc
Copy link
Author

ivanhjc commented Nov 20, 2019

@Mogztter

$ asciidoctor -v
Asciidoctor 1.5.6.1 [http://asciidoctor.org]
Runtime Environment (ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)

Also Asciidoctor.js version is 2.3.0.

@mojavelinux
Copy link
Member

@Mogztter The fix is not yet in a release, so you'd need to grab it from master. I'm pretty sure it's the same issue.

@ggrossetie
Copy link
Member

Yes, good catch!
It's confirmed by @ivanhjc.

I guess I could perform a new release of Asciidoctor.js based on the lastest commit on master.

@mojavelinux
Copy link
Member

I'd rather you not do that because that would go outside the process we agreed on. I absolutely agree an Asciidoctor core release needs to go out. It's just that, of all weeks, this is absolutely terrible week for me. So it needs to wait until the break (which is the following two weeks). Then, we can get back on schedule.

@ggrossetie
Copy link
Member

I'd rather you not do that because that would go outside the process we agreed on.

No worries, I thought you were suggesting to do a release from master but I must have misunderstood your reply:

The fix is not yet in a release, so you'd need to grab it from master.

I guess it was a workaround solution (ie. grab the stylesheet from master and add it as a custom stylesheet in the options page)

I absolutely agree an Asciidoctor core release needs to go out. It's just that, of all weeks, this is absolutely terrible week for me. So it needs to wait until the break (which is the following two weeks). Then, we can get back on schedule.

As always, if I can be of any help, ping me 😉

@mojavelinux
Copy link
Member

I thought you were suggesting to do a release from master

Sorry for the confusion. I was suggesting that the browser extension could use the stylesheet from master temporarily if you wanted to patch it ahead of time. Though it probably is best if we wait for the release to come around as this issue isn't really a blocker.

@ggrossetie
Copy link
Member

Sorry for the confusion. I was suggesting that the browser extension could use the stylesheet from master temporarily if you wanted to patch it ahead of time.

Gotcha.
Yes, I don't want to do that, especially since the build copy the stylesheet from the npm package:

bfs.copySync('node_modules/@asciidoctor/core/dist/css/asciidoctor.css', 'app/css/themes/asciidoctor.css')

Though it probably is best if we wait for the release to come around as this issue isn't really a blocker.

We will wait for the release 👍

@mojavelinux
Copy link
Member

The most important part was that we confirmed that the upstream fix covered this case ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants