Automattic / Automattic/jetpack-crm
Company page task status showing HTML instead of badge
- Dominant language
- PHP
- Stars
- 13
- Forks
- 8
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 13
Description
Companies > Company list view > Click on a company to view their page.
Scroll down to see tabs, observe formatting below...
---
**what it should be**
template affected: `jetpack-crm/admin/company/view.page.php`
Solution: use `esc_attr` to handle HTML attributes, in this case `class='ui grey label'`
## AI disclosure:
- Made by steering Claude
- In flight review of changes
Contributor guide
No contributing guide indexed for this repository
Research direction
Open jetpack-crm/admin/company/view.page.php and locate the company page task-status markup below the tabs. Check how the status class is inserted into the HTML attribute, then verify the page renders the expected grey badge rather than the attribute markup as text. Done means the company view shows the task status with the same formatting as the reference image.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 88/100