about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-09-19 15:55:05 -0500
committerFire Demon <firedemon@creature.cafe>2020-09-19 15:55:05 -0500
commit2b2c23ed0dcd9846bcab0206baa266e959ec35d7 (patch)
tree3e66fdc738c12e0dce2cf6853c41f2f1297c59b3 /app
parentc54ea07628fbf6a4e9360585cf775f70f871e3e9 (diff)
[Bug] "script" tags must not be self-closing
Diffstat (limited to 'app')
-rw-r--r--app/views/about/show.html.haml2
-rw-r--r--app/views/auth/registrations/new.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml
index f29c5c73c..4cacb6f3c 100644
--- a/app/views/about/show.html.haml
+++ b/app/views/about/show.html.haml
@@ -3,7 +3,7 @@
 
 - content_for :header_tags do
   %link{ rel: 'canonical', href: about_url }/
-  %script{ src: '/registration.js', type: 'text/javascript', crossorigin: 'anonymous' }/
+  %script{ src: '/registration.js', type: 'text/javascript', crossorigin: 'anonymous' }
   = render partial: 'shared/og'
 
 .grid-4
diff --git a/app/views/auth/registrations/new.html.haml b/app/views/auth/registrations/new.html.haml
index b9033f553..ab2d33d69 100644
--- a/app/views/auth/registrations/new.html.haml
+++ b/app/views/auth/registrations/new.html.haml
@@ -2,7 +2,7 @@
   = t('auth.register')
 
 - content_for :header_tags do
-  %script{ src: '/registration.js', type: 'text/javascript', crossorigin: 'anonymous' }/
+  %script{ src: '/registration.js', type: 'text/javascript', crossorigin: 'anonymous' }
   = render partial: 'shared/og', locals: { description: description_for_sign_up }
 
 = simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { novalidate: false }) do |f|