Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use https where possible and fix redirects #605

Merged
merged 1 commit into from
Jul 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Arbre - HTML Views in Ruby

[Arbre][docs] makes it easy to generate HTML directly in Ruby. This gem was extracted from [Active Admin](https://github.com/activeadmin/active_admin).
[Arbre][docs] makes it easy to generate HTML directly in Ruby. This gem was extracted from [Active Admin](https://github.com/activeadmin/activeadmin).

[![Version ][rubygems_badge]][rubygems]
[![Github Actions ][actions_badge]][actions]
Expand Down Expand Up @@ -31,13 +31,13 @@ Subscribe to [Tidelift][tidelift] to support Arbre and get licensing assurances
Please use the Tidelift security contact to [report a security vulnerability][Tidelift security contact].
Tidelift will coordinate the fix and disclosure.

[rubygems_badge]: http://img.shields.io/gem/v/arbre.svg
[rubygems_badge]: https://img.shields.io/gem/v/arbre.svg
[rubygems]: https://rubygems.org/gems/arbre
[actions_badge]: https://github.com/activeadmin/arbre/workflows/ci/badge.svg
[actions]: https://github.com/activeadmin/arbre/actions
[tidelift_badge]: https://tidelift.com/badges/github/activeadmin/arbre
[tidelift]: https://tidelift.com/subscription/pkg/rubygems-arbre?utm_source=rubygems-arbre&utm_medium=referral&utm_campaign=readme

[docs]: https://activeadmin.github.io/arbre/
[stackoverflow]: http://stackoverflow.com/questions/tagged/arbre
[stackoverflow]: https://stackoverflow.com/questions/tagged/arbre
[Tidelift security contact]: https://tidelift.com/security
2 changes: 1 addition & 1 deletion lib/arbre/html/tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module HTML
class Tag < Element
attr_reader :attributes

# See: http://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements
# See: https://html.spec.whatwg.org/multipage/syntax.html#void-elements
SELF_CLOSING_ELEMENTS = [ :area, :base, :br, :col, :embed, :hr, :img, :input, :keygen, :link,
:menuitem, :meta, :param, :source, :track, :wbr ]

Expand Down