Extract a new class `ReplacePlaceholder` from `CommentBodyBuilder`
And use the new ReplacePlaceholder
in CommentBodyBuilder
. This should make handling various different placeholders easier, instead of putting everything inside CommentBodyBuilder
.
The following discussion from !52 (merged) should be addressed:
-
@godfat started a discussion: This
{{items}}
can only be used in a summary body. I think we should extract this but for now it's a constant, which is not very extensible.I think we could do this in a future iteration.