CATcher-org / CATcher-org/CATcher
Preview has issues with HTML tags
- Dominant language
- TypeScript
- Stars
- 92
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Preview has issues with HTML tags.
**To Reproduce**
Steps to reproduce the behavior:
1. Start writing a new issue
2. Write the following text
```
hiconsole.log(1);hi
```
3. Click preview.
4. The text is not rendered properly. No scripts seem to be executed when clicking on the button.
**Expected behavior**
The tag should appear and the button should not appear, like the preview on GitHub

**Screenshots**
(What actually appears)

Desktop (please complete the following information):
- OS: Windows 10
- Browser: Chrome
- Browser Version: Version 106.0.5249.103 (Official Build) (64-bit)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start the application and reproduce the issue by entering the provided HTML-tag example while creating a new issue, then opening Preview. Trace the preview rendering entry point from that flow. Done means the script tag is displayed as text, the button is not shown, and the behavior matches the expected GitHub preview.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100