
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
bridgetown-minify-html
Advanced tools
A Bridgetown plugin to Minify your outputted HTML.
Run this command to add this plugin to your site's Gemfile:
bundle add bridgetown-minify-html -g bridgetown_plugins
Once you've added the plugin, it'll automatically compress your outputted HTML without any additional configuration required when you run bin/bridgetown build
or bin/bridgetown deploy
.
Within your bridgetown.config.yml
file, you have the options:
minify_html:
enabled: true
remove_spaces_inside_tags: true
remove_multi_spaces: true
remove_comments: true
remove_intertag_spaces: false
remove_quotes: false
simple_doctype: false
remove_script_attributes: false
remove_style_attributes: false
remove_link_attributes: false
remove_form_attributes: false
remove_input_attributes: false
remove_javascript_protocol: false
remove_http_protocol: false
remove_https_protocol: false
preserve_line_breaks: false
simple_boolean_attributes: false
compress_js_templates: false
bundle exec rspec
to run the test suitescript/cibuild
to validate with Rubocop and test with rspec together.git clone
to your local development machine.git checkout -b feature/my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Mike Rogers was the creator of bridgetown-minify-html
and participated in the project from July 2020 until his passing in November 2021. This project is maintained by @andrewmcodes in his honor. You can find Mike's obituary here if you'd like to leave a message.
FAQs
Unknown package
We found that bridgetown-minify-html demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.