Task: Fix XHTML Entity Reference Error in Embedded JavaScript
Task: Fix XHTML Entity Reference Error in Embedded JavaScript: a task in Terminal-Lego-15k (Harbor dataset). When embedding JavaScript code within XHTML pages (commonly used with JSF, Facelets, and similar frameworks), the & character has special meaning as it starts XML entity references (like…
The task
When embedding JavaScript code within XHTML pages (commonly used with JSF, Facelets, and similar frameworks), the `&` character has special meaning as it starts XML entity references (like `&`, `<`, etc.). This causes parsing errors when JavaScript uses the logical AND operator `&&`.
Part of PrimeIntellect/Terminal-Lego-15k.