summaryrefslogtreecommitdiff
path: root/src/clarktown/correctors/atx_heading_block.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/clarktown/correctors/atx_heading_block.clj')
-rw-r--r--src/clarktown/correctors/atx_heading_block.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clarktown/correctors/atx_heading_block.clj b/src/clarktown/correctors/atx_heading_block.clj
index 6668700..5a5f713 100644
--- a/src/clarktown/correctors/atx_heading_block.clj
+++ b/src/clarktown/correctors/atx_heading_block.clj
@@ -20,7 +20,7 @@
there's no empty newline above, we need to create one, and
so this function must then return `true`."
[lines line index]
- (and (is-atx-heading? (string/trim line))
+ (and (is-atx-heading? line)
(> index 0)
(not (= (-> (nth lines (- index 1))
string/trim) ""))