Repository navigation
fix images steps' with sections - #202
Merged
Merged
Conversation
Bugs introduced in cooklang#195 And found here cooklang#195 (comment)
Member
|
Hmmm, might be an issue with find library, need to check there |
Member
Feel free to add a new recipe with section, would be good to showcase syntax anyway |
Contributor
Author
I added a recipe, i wasn't really inspired |
Contributor
Author
Is it ok to merge this patch to fix the current CLI before fixing the find libary ? |
Contributor
Author
|
I took images from a website which have this license https://pixabay.com/service/license-summary/ |
dubadub
approved these changes
Nov 26, 2025
Member
|
Thank you so much! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bugs introduced in #195
And found here #195 (comment)
I tried to replace
0withsections.len(),sections.len() + 1andtotal_steps, but it doesn't workSo, i displayed the content
I tried with a personal recipe with sections and images, and i see
But i have 3 sections in my recipe
Could it be possible that the sections are not correctly represented in the
RecipeEntry::step_images()?I don't know how to add a test on this one, there is currently no recipe in the seed folder that have sections
Should i add fake sections in one
seed/*.cookfile to be able to add a test ?