-
|
Hello! I'm trying to use So for example: Here we have a very very
very very very very very
very very very very very
very very very very very
very long line of text.gets formatted into Here we have a very very very very very very very very very very very very very very very very very
very long line of text.with Here we have a very very very very very very very very very very very very very very very very very very long line of text.gives Using rumdl/src/rules/md013_line_length/mod.rs Lines 696 to 713 in 717c12c Looking at the source, it does seem to be intentional but I just wanted to confirm if this was an actual expected behaviour or whether I am missing something. Thanks for your help in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hey @sglre6355 — thanks for the careful read, you found a real gap. At the commit you linked, normalize mode only triggered reflow on multi-line paragraphs, so a single overlong line fell through to the per-line warning emitter (which deliberately omits a fix when reflow is on, expecting paragraph-level reflow to cover it). Not an intentional exclusion, just incomplete coverage. Fixed in cfa6954 and shipped in v0.1.69 — single overlong lines now reflow the same as multi-line paragraphs. If you're on ≥ 0.1.69 and still seeing the old behaviour, double-check that you have both |
Beta Was this translation helpful? Give feedback.
Hey @sglre6355 — thanks for the careful read, you found a real gap. At the commit you linked, normalize mode only triggered reflow on multi-line paragraphs, so a single overlong line fell through to the per-line warning emitter (which deliberately omits a fix when reflow is on, expecting paragraph-level reflow to cover it). Not an intentional exclusion, just incomplete coverage.
Fixed in cfa6954 and shipped in v0.1.69 — single overlong lines now reflow the same as multi-line paragraphs. If you're on ≥ 0.1.69 and still seeing the old behaviour, double-check that you have both
reflow = trueandreflow_mode = "normalize"set; the mode alone isn't enough sincereflowdefaults tofalse.