-
Notifications
You must be signed in to change notification settings - Fork 189
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
Asciidoctor 1.5.6 introduced a rendering regression for data-background new-style images #132
Comments
Can you describe what the regression is? |
|
Searching for the first image block with the background attribute inside a section no longer works. |
(cherry picked from commit 1dfc983)
1.0.3 has been released: https://github.com/asciidoctor/asciidoctor-reveal.js/releases/tag/v1.0.3 |
I see the problem. We're now always coercing the attribute name passed to
We were missing a test case in core, which is why it slipped through. I've sent PR #135 to fix, which will also work with 1.5.4. |
This risk of incompatibility with upstream can be avoided if we set up triggered builds on asciidoctor-reveal.js when changes are made to upstream. You'll need to add a profile to the Travis build to run against upstream instead of a release. You can see this implemented in asciidoctor-diagram (https://github.com/asciidoctor/asciidoctor-diagram/blob/master/.travis.yml#L23-L25). Then, I just need to add it to the list of triggered projects (https://github.com/asciidoctor/asciidoctor/blob/master/Rakefile#L143-L147). |
Btw, I just added a test to upstream. Of course, the test asserts that a positional (i.e., indexed) attribute can only be accessed from the attributes hash. These attributes are considered to be internal(-ish) and therefore it makes sense they are only accessible via the raw table. I don't want to hide them...but they do require a slightly lower-level of access. |
@obilodeau Your plan is very reasonable! 👍 |
resolves #132 fix templates to work with 1.5.6
Travis: building on asciidoctor's master too (related to #132)
You may proceed. See #136. |
The update of asciidoctor to 1.5.6 (in #129), introduced a regression. The test
data-background-newstyle.adoc
no longer renders properly with Asciidoctor 1.5.6. Rolling back to 1.5.4 fixed it.Found while implementing doctest support in #116.
Plan:
I'm going to fix master, pin asciidoctor to 1.5.4 and do a release (w/o doctest or #131). This way people pulling 1.0.3 or current latest will have it working. As will people allowing bugfix updates only.
Then I'll fix this bug (hopefully fixable locally), increase dependencies to 1.5.6, merge #116, #131 and do a
1.1.0
release.@mojavelinux, thoughts?
The text was updated successfully, but these errors were encountered: