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

[RFR] Fix cache image generation on parsedown assert #2639

Merged
merged 1 commit into from
Oct 17, 2019

Conversation

jnadaud
Copy link
Contributor

@jnadaud jnadaud commented Aug 19, 2019

When image cache is enable and you are trying to assert image from parsedown, the path is not the same as original but it's a generated one from cache

$this->assertSame('<p><img alt="" src="/subdir/tests/fake/nestedsite/user/pages/02.item2/02.item2-2/sample-image.jpg" /></p>',
            $this->parsedown->text('![](sample-image.jpg)'))

@jnadaud jnadaud changed the title [RFR] Fix cache image generation when using cropresize [RFR] Fix cache image generation on parsedown assert Aug 19, 2019
@rhukster rhukster merged commit ab6b82e into getgrav:develop Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants