-
Notifications
You must be signed in to change notification settings - Fork 3
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
Hotfix/aut 2673/inline figure img to November release #459
Hotfix/aut 2673/inline figure img to November release #459
Conversation
'use strict'; | ||
|
||
const CreatorImg = _.clone(Renderer); | ||
|
||
CreatorImg.render = function render(img, options) { | ||
const $container = Renderer.getContainer(img); | ||
if ($container.parent('figure').length) { | ||
if ($container.parent('figure').length || $container.parent('span').length && $container.parent('span').data('figure')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discrepancy with original PR is this expected?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here backport for 2 PRs, this changes from second #457
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing bundles
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
All changes present, only missing bundles in TO DO once rest completed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- New code is covered by tests (if applicable)
- Tests are running successfully (old and new ones) on my local machine (if applicable)
- New code is respecting code style rules
- New code is respecting best practices
- New code is not subject to concurrency issues (if applicable)
- Feature is working correctly on my local machine (if applicable)
- Acceptance criteria are respected
- Pull request title and description are meaningful
Related to: https://oat-sa.atlassian.net/browse/AUT-2673
Backport of #453 and #457 to November release
TO DO: