Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 482ddf3

Browse files
authored
strip signature when editing (#2090)
1 parent 70f87a8 commit 482ddf3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Classes/Issues/Comments/IssueCommentSectionController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,8 @@ final class IssueCommentSectionController:
218218
func edit(markdown: String) {
219219
guard let width = collectionContext?.insetContainerSize.width else { return }
220220
let bodyModels = MarkdownModels(
221-
markdown,
221+
// strip githawk signatures on edit
222+
CheckIfSentWithGitHawk(markdown: markdown).markdown,
222223
owner: model.owner,
223224
repo: model.repo,
224225
width: width,

0 commit comments

Comments
 (0)