Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use CSS for decoration, fixes CodeQL error with TagList (#3261)
Also see #1803 (review) (you have to open this thing:) <img width="855" alt="Screenshot 2024-12-04 at 10 35 28" src="https://github.com/user-attachments/assets/69eaa2e8-4bb0-4d55-8968-0f8f5748b359"> --- This should fix an over-zealous CodeQL linting security issue/error by using CSS (a super powerful, declarative and therefore pretty much bug free, "from The Outside" language) instead of Javascript. I think this should probably be an almost global type of rule (I would like to delete `TagList` at some point), and I think it would be a good candidate for something similar to `XLayout`, probably called `XTheme` which we would primarily use at the root of our application. Finally we won't know for sure if this fixes the issue without merging to master, but I think its a better approach even if it doesn't fix the issue. <img width="1478" alt="Screenshot 2024-12-04 at 10 28 40" src="https://github.com/user-attachments/assets/2dfb6460-7999-4ea8-8f11-7eb349ea85bc"> Signed-off-by: John Cowen <[email protected]>
- Loading branch information