Skip to content

Commit

Permalink
Use https where possible and fix redirects
Browse files Browse the repository at this point in the history
Issues identified with the help of `awesome_bot` gem
  • Loading branch information
tagliala committed Jul 28, 2024
1 parent a046533 commit d9e32b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 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_badge]: https://tidelift.com/badges/package/rubygems/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

0 comments on commit d9e32b1

Please sign in to comment.