diff --git a/app/assets/javascripts/utilities/buildArticleHTML.js.erb b/app/assets/javascripts/utilities/buildArticleHTML.js.erb
index 8914444c6..75ab8ca94 100644
--- a/app/assets/javascripts/utilities/buildArticleHTML.js.erb
+++ b/app/assets/javascripts/utilities/buildArticleHTML.js.erb
@@ -49,7 +49,7 @@ function buildArticleHTML(article) {
var profileUsername = article.user.username
var orgHeadline = "";
if (article.organization && !document.getElementById("organization-article-index")) {
- orgHeadline = '
'
+ orgHeadline = ''
}
var bodyTextSnippet = "";
var commentsBlobSnippet = "";
@@ -115,7 +115,7 @@ function buildArticleHTML(article) {
'+orgHeadline+'\
\
\
diff --git a/app/labor/markdown_parser.rb b/app/labor/markdown_parser.rb
index d47c46f8e..8b678f992 100644
--- a/app/labor/markdown_parser.rb
+++ b/app/labor/markdown_parser.rb
@@ -90,7 +90,7 @@ class MarkdownParser
next unless src
# allow image to render as-is
next if allowed_image_host?(src)
-
+ img["loading"] = "lazy"
img["src"] = if giphy_img?(src)
src.gsub("https://media.", "https://i.")
else
diff --git a/app/views/additional_content_boxes/_article_followable_area.html.erb b/app/views/additional_content_boxes/_article_followable_area.html.erb
index 258fb1895..8bc8fdff9 100644
--- a/app/views/additional_content_boxes/_article_followable_area.html.erb
+++ b/app/views/additional_content_boxes/_article_followable_area.html.erb
@@ -22,6 +22,7 @@
__PROFILE"
style="border: 4px solid <%= followable.bg_color_hex %>" />
diff --git a/app/views/articles/_bottom_content.html.erb b/app/views/articles/_bottom_content.html.erb
index 593917215..5358fa1eb 100644
--- a/app/views/articles/_bottom_content.html.erb
+++ b/app/views/articles/_bottom_content.html.erb
@@ -11,6 +11,7 @@
quality: "auto",
flags: "progressive",
fetch_format: "auto",
+ loading: "lazy",
sign_url: true,
alt: "#{article.user.username} profile image") %>
diff --git a/app/views/articles/_sidebar.html.erb b/app/views/articles/_sidebar.html.erb
index 6ecca58c6..655f7097c 100644
--- a/app/views/articles/_sidebar.html.erb
+++ b/app/views/articles/_sidebar.html.erb
@@ -16,8 +16,8 @@
<% @sponsors.each do |organization| %>