diff --git a/ci/semantic-line-breaks/src/main.rs b/ci/semantic-line-breaks/src/main.rs index e3aca7a26c..f58a2f7d8c 100644 --- a/ci/semantic-line-breaks/src/main.rs +++ b/ci/semantic-line-breaks/src/main.rs @@ -58,6 +58,10 @@ fn comply(content: &str) -> Result { if ignore_re.is_match(line) { continue; } + // headings + if line.starts_with('#') { + continue; + } let line = line.trim_end(); if line.is_empty() { continue;