You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Escape the item title with core's Markdown::escape() - #17
Moves the status-change email onto core's shared Saucebase\Core\Support\Markdown::escape() (core v2.7.0) and removes the module's private escapeMarkdown() copy. What's escaped is unchanged: the item title, which a visitor typed and every voter receives. The greeting isn't escaped.
Roadmap status-change emails now display item titles containing Markdown special characters without unintended formatting. Titles remain readable in the email, including when they contain characters that could otherwise be interpreted as Markdown. This improves consistency when recipients view notifications about roadmap item status changes.
The saucebase/core requirement changes from ^2.0 to ^2.7. The roadmap status notification now uses Markdown::escape for the item title and removes its private escaping method.
Changes: Notification title escaping
Layer / File(s)
Summary
Update core dependency and notification escaping composer.json, src/Notifications/RoadmapItemStatusChangedNotification.php
The core dependency constraint changes to ^2.7. The notification imports Markdown and uses Markdown::escape for the title instead of its private escaping method.
saucebase-dev/roadmap#15: Changes the saucebase/core requirement to ^2.0; this PR updates that constraint to ^2.7 and uses Markdown::escape.
Merge Risk: Minimal · up to 85ae5
The change centralizes title escaping and updates the minimum core version accordingly. No merge-blocking risk is identified from the supplied evidence.
Pre-merge checks: 5
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title clearly and concisely describes the main change: using core's Markdown::escape() to escape the item title. It matches the notification update and dependency change.
Docstring Coverage
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.)
Finishing Touches
📝 Generate docstrings
Commit to this branch
Create a new PR
🧪 Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Moves the status-change email onto core's shared
Saucebase\Core\Support\Markdown::escape()(core v2.7.0) and removes the module's privateescapeMarkdown()copy. What's escaped is unchanged: the item title, which a visitor typed and every voter receives. The greeting isn't escaped.composer.jsonnow requiressaucebase/core ^2.7.Roadmap PHPUnit: 93 pass.
🤖 Generated with Claude Code
Summary by CodeRabbit