#21080: collectstatic post-processing fails for references inside comments -------------------------------------+------------------------------------- Reporter: shreyas@… | Owner: Nathan | Gaberel Type: Bug | Status: assigned Component: contrib.staticfiles | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Nathan Gaberel):
* has_patch: 0 => 1 Comment: [https://github.com/django/django/pull/11241 PR] I put something together that detects block comments in css (using [https://github.com/django/django/pull/11241/files#diff- c7242dedd7c93b857a668acec1e310feR154 a regexp]) and ignores those urls that overlap with a comment. It has the benefit of not requiring additional dependencies to parse css. I think it's ready but I'm probably missing some test cases, feedback welcome! -- Ticket URL: <https://code.djangoproject.com/ticket/21080#comment:14> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/075.b7e80c523e359e1fb91082d094e2b5a7%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.