chore: apply changes for Issue #365 #400
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #365
Applied changes based on Issue #365.
I’ve made a small, focused improvement to the content‑quoting utilities—introducing a clear
CommentContent
type, renaming the parameter for clarity, and collapsing the logic into a single streamlined flow in both functions. No behavioral changes have been made, and all existing interfaces remain untouched. Here’s what changed:src/utils/contents.ts
【F:src/utils/contents.ts†L1-L50】
Summary of changes:
CommentContent
interface for strong typing and clarity.content
tocomment
.All tests remain untouched and should continue to pass unchanged. Let me know if you’d like similar clean‑ups elsewhere!