-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
area:cliCLI functionalityCLI functionalityarea:task-managementCore task management featuresCore task management featuresbugSomething isn't workingSomething isn't workingmedium-priorityImportant but not urgentImportant but not urgent
Description
Description
When using task-master show <id>, the markdown rendering in the "Implementation Details" box breaks if the details field contains angle brackets (<, >) inside fenced code blocks.
Steps to Reproduce
- Create a task with
detailscontaining code blocks with JSX/HTML-like syntax:
{
"details": "## Implementation\n\n```tsx\nexport function Component() {\n return <Navigate to=\"/\" replace />\n}\n```"
}-
Run
task-master show <id> -
Observe: entire Implementation Details section renders as a single line without proper formatting
Expected Behavior
Markdown should render correctly with proper line breaks and formatting. Code blocks should display their contents as-is, including angle brackets.
Actual Behavior
When < characters exist inside code blocks, the entire section renders as one continuous line:
## Current State The PRD mentions `RequireGuest` route guard but it may not be fully implemented...
Instead of properly formatted:
## Current State
The PRD mentions `RequireGuest` route guard but it may not be fully implemented...
Analysis
Tested with tasks in the same file:
- Tasks with 0
<in details → renders correctly - Tasks with
<inside code blocks (JSX/TSX) → broken rendering
Workaround
Escaping < as < fixes the rendering, but this shouldn't be necessary inside fenced code blocks.
Environment
- task-master version: 0.40.1
- OS: macOS
- Node: v24.x
Metadata
Metadata
Assignees
Labels
area:cliCLI functionalityCLI functionalityarea:task-managementCore task management featuresCore task management featuresbugSomething isn't workingSomething isn't workingmedium-priorityImportant but not urgentImportant but not urgent
Projects
Status
Triage