You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cooklang format wraps lines inside hyphenated components, corrupting names on reparse #700
crates/format/src/cooklang_source.rs:171-177 — textwrap runs with the default WordSplitter::HyphenSplitter, which splits the "component words" that component_word_separator (:196-241) carefully keeps whole. Fix is .word_splitter(WordSplitter::NoHyphenation). Wrap width is also terminal-dependent (termwidth().min(80)).
Repro
Input step: Mix @all-purpose flour{1%cup} with @super-fine caster sugar{2%tbsp} and @extra-virgin olive oil{1%tbsp} ...
Activity