Skip to content

Commit b96f530

Browse files
Strip Trailing New Line(s)
1 parent 3b28260 commit b96f530

23 files changed

+23
-23
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ Some examples of custom XSS filters already exist in [markdown.comment](https://
6666

6767
- Added ability to specify the depth level of comment replies.
6868
- Added log-in button as simple integration with user extension.
69-
- Removed `comments` property as a way to enable or disable comment feature on specific page. Store your custom comment state in the `state` property from now on.
69+
- Removed `comments` property as a way to enable or disable comment feature on specific page. Store your custom comment state in the `state` property from now on.

comment/about.page

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ To set pre-defined comment visibility globally, specify a comment flag on the fi
5151

5252
~~~ .php
5353
<?= self::comments([2]); ?>
54-
~~~
54+
~~~

comment/engine/kernel/comment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ public function parent() {
3535
return $this->exist ? content(Path::F($this->path) . DS . 'parent.data') : null;
3636
}
3737

38-
}
38+
}

comment/engine/plug/page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@
4545
$comments = (new Comments($comments))->chunk($chunk, $i);
4646
$comments->title = i(0 === $count ? '0 Comments' : (1 === $count ? '1 Comment' : '%d Comments'), $count);
4747
return $comments;
48-
});
48+
});

comment/engine/r.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ function tasks(array $in, array $lot = [], $comment = null) {
4747
}
4848
return $out;
4949
}
50-
}
50+
}

comment/engine/r/asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
'has' => ['comments' => !!$comments]
1414
]);
1515
}
16-
}, -1); // Need to set a priority before any asset(s) insertion task(s) because we use the `content` hook
16+
}, -1); // Need to set a priority before any asset(s) insertion task(s) because we use the `content` hook

comment/engine/r/hook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ function link($link) {
5151
}
5252
\Hook::set('comment.email', __NAMESPACE__ . "\\email", 0);
5353
\Hook::set('comment.link', __NAMESPACE__ . "\\link", 0);
54-
}
54+
}

comment/engine/r/layout.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
Layout::set('form/comment', File::exist([
1414
LOT . DS . 'layout' . DS . 'comment.form.php',
1515
__DIR__ . DS . 'layout' . DS . 'comment.form.php'
16-
]));
16+
]));

comment/engine/r/layout/comment.form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@
100100

101101
?>
102102
<?= x\comment\hook('comment-form', [$tasks, $page, $deep ?? null], $comment ?? null); ?>
103-
</form>
103+
</form>

comment/engine/r/layout/comment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@
5858
<?php endforeach; ?>
5959
</section>
6060
<?php endif; ?>
61-
</article>
61+
</article>

0 commit comments

Comments
 (0)