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
Editor: multi-line block comments swallow the rest of the recipe #494
In static/js/src/cooklang-mode.js, the block-comment closer check inside the state.inComment branch (stream.match(/-]/)) is anchored at the current stream position, so a [- … -] comment spanning lines never closes unless a line starts with -]. On seed/Thai Green Curry.cook every line after the block comment renders as a comment: ingredients, timers and preparation notes lose their highlighting.
Fix: search for -] anywhere on the line (e.g. stream.skipTo('-]') then stream.match('-]')), with a test recipe containing a multi-line block comment.
Activity
fix(editor): close [- -] comments mid-line, highlight quantities (coo…
fix(editor): highlight nameless timers, mid-line comments and escapes…