Dated user CSS with <style> tags cannot be parsed #425
Labels
No labels
antville.org
bug
compatibility
dependency
duplicate
enhancement
help wanted
invalid
java
javascript
major
needs feedback
needs work
no-issue-activity
runtime
security
urgent
usability
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: antville/antville#425
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
At one point the original user CSS in the
Site#stylesheetskin contained<style>tags:In the meantime, the user CSS is loaded via action as external stylesheet (
text/css) – and this structure cannot be parsed by the Less parser.The error is visible in the main.css file at the client:
Replacing the
<style>and comment tags before passing the CSS to the Less parser is a potential fix.998025b55c/code/Site/Site.js (L480)Fixed in
0b326e71e6.