mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-06 12:51:54 +00:00
1 parent
2ff1c36991
commit
ee9caff76c
10 files changed
+173
No files matched your search
@@ -0,0 +1,18 @@
|
||||
---
|
||||
title: InnerHTML violations in landing/index.html
|
||||
status: open
|
||||
severity: medium
|
||||
agent: style-agent
|
||||
cadence: daily
|
||||
created: 2026-02-15T08:00:00Z
|
||||
---
|
||||
|
||||
# Issue: InnerHTML usage detected
|
||||
|
||||
The `style-agent` detected usage of `innerHTML` in `landing/index.html`, which violates the project's style guidelines for security reasons.
|
||||
|
||||
## Violations
|
||||
- `landing/index.html`: 3 assignments
|
||||
|
||||
## Recommendation
|
||||
Refactor the code to use `document.createElement` or `textContent` where possible.
|
||||
Reference in new issue
Block a user