From 3cc0f27eb34a6efb949aa3dcfd6be5ca015533d7 Mon Sep 17 00:00:00 2001 From: Steve Layton Date: Sat, 2 Mar 2019 07:50:57 -0800 Subject: [PATCH] Remove stray forward slash in RSS feed builder (#1943) closes #1942 - removed stray `/` from lines 17 and 18. --- app/views/articles/feed.rss.builder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/articles/feed.rss.builder b/app/views/articles/feed.rss.builder index f15966b32..cc1c9523c 100644 --- a/app/views/articles/feed.rss.builder +++ b/app/views/articles/feed.rss.builder @@ -14,8 +14,8 @@ xml.rss version: "2.0" do xml.title article.title xml.author (@user && @user.class.name == "User") ? @user.name : article.user.name xml.pubDate article.published_at.to_s(:rfc822) if article.published_at - xml.link "https://dev.to/#{article.path}" - xml.guid "https://dev.to/#{article.path}" + xml.link "https://dev.to#{article.path}" + xml.guid "https://dev.to#{article.path}" xml.description sanitize article.processed_html.html_safe, tags: %w(strong em a table tbody thead tfoot th tr td col colgroup del p h1 h2 h3 h4 h5 h6 blockquote iframe time div span i em u b ul ol li dd dl dt q code pre img sup cite center br small), attributes: %w(href strong em class ref rel src title alt colspan height width size rowspan span value start data-conversation data-lang id)