Skip to content

Conversation

@kei-sidorov
Copy link

During preparing iOS app for scaling support I noticed decimal ranges like 1.5-2.25 in ingredient quantities were parsed as text instead of ranges, causing scaling to fail.

I researched the issue using LLMs and it highlighted me the parse_recipe function used CooklangParser::canonical(), which disables all extensions, including RANGE_VALUES required for range parsing.

@kei-sidorov kei-sidorov requested a review from dubadub November 10, 2025 10:23
@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 10, 2025

cooklang-playground

npm i https://pkg.pr.new/cooklang/cooklang-rs/@cooklang/cooklang-ts@78

commit: 68ad863

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