cobrateam / cobrateam/django-htmlmin
Minify inline JavaScript
Open
Brainstorm
- Dominant language
- Python
- Stars
- 542
- Forks
- 72
- PR merge metrics
- No merged PRs in 30d
Description
It'd be nice to minify inline JavaScript.
The `minify` function could receive a boolean parameter (just like `ignore_comments`):
``` python
minify(html_code, compress_js =True)
minify(html_code, compress_js=False)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the minify entry point and trace how inline JavaScript is currently handled. Add coverage for both compress_js=True and compress_js=False, then verify that the option controls whether inline JavaScript is minified while the surrounding HTML remains processed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100