mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-06 12:52:04 +00:00
feat: reproduce innerhtml usage in torch/landing/index.html
- added reproduction script `torch/examples/reproducers/ISSUE_daily_style-agent_innerhtml/repro.py` - updated `torch/src/issues/ISSUE_daily_style-agent_innerhtml.md` with reproduction results - added `torch/KNOWN_ISSUES.md` with issue entry - added missing scripts to `torch/package.json` - generated scheduler artifacts (CONTEXT, TODO, DECISIONS, TEST_LOG, task-logs/weekly) Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
1e2c865b04
commit
5f3d790822
9 files changed
+104
-1
No files matched your search
@@ -16,3 +16,14 @@ The `style-agent` detected usage of `innerHTML` in `landing/index.html`, which v
|
||||
|
||||
## Recommendation
|
||||
Refactor the code to use `document.createElement` or `textContent` where possible.
|
||||
|
||||
## Reproduction Attempt (2026-02-16T11:47:38Z)
|
||||
Ran reproduction script: `torch/examples/reproducers/ISSUE_daily_style-agent_innerhtml/repro.py`
|
||||
```
|
||||
Checking torch/landing/index.html for innerHTML usage...
|
||||
FAILURE: innerHTML found in file.
|
||||
Line 865: contentDiv.innerHTML = marked.parse(text);
|
||||
Line 869: contentDiv.innerHTML = `<p class="text-danger">Error loading documentation: ${error.message}</p>`;
|
||||
Line 931: const originalContent = btn.innerHTML;
|
||||
Line 937: btn.innerHTML = originalContent;
|
||||
```
|
||||
Reference in new issue
Block a user