From 09269ca972174cedd26f2503a0718378a3e16f3f Mon Sep 17 00:00:00 2001 From: Julien Maury <6878027+jmau111@users.noreply.github.com> Date: Thu, 22 Jul 2021 12:45:04 +0200 Subject: [PATCH] remove use of async attribute on inline scripts (#14297) --- app/views/articles/_block.html.erb | 4 ++-- app/views/articles/_fitvids.html.erb | 2 +- app/views/articles/_v2_form.html.erb | 2 +- app/views/articles/show.html.erb | 2 +- app/views/comments/index.html.erb | 2 +- app/views/layouts/_top_bar.html.erb | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/articles/_block.html.erb b/app/views/articles/_block.html.erb index 09448c6f8..86db75af3 100644 --- a/app/views/articles/_block.html.erb +++ b/app/views/articles/_block.html.erb @@ -1,6 +1,6 @@
<% if show_published %> - <%= tag.style block.published_css, escape_attributes: false %> @@ -8,7 +8,7 @@ <%= sanitize block.published_html %>
<% else %> - <%= tag.style block.processed_css, escape_attributes: false %> diff --git a/app/views/articles/_fitvids.html.erb b/app/views/articles/_fitvids.html.erb index e758d9ee0..35cbde7a6 100644 --- a/app/views/articles/_fitvids.html.erb +++ b/app/views/articles/_fitvids.html.erb @@ -1,4 +1,4 @@ - diff --git a/app/views/articles/show.html.erb b/app/views/articles/show.html.erb index bdb767905..b9d02c356 100644 --- a/app/views/articles/show.html.erb +++ b/app/views/articles/show.html.erb @@ -231,7 +231,7 @@
<% cache("article-show-scripts", expires_in: 8.hours) do %> -