From ce38618ee758aafabc03f841cccd414673c8070f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Wed, 8 Nov 2017 16:28:23 +0100 Subject: [PATCH] Fix: Consistently use self-closing tags --- lib/template.html | 12 ++++++------ spec/jekyll_seo_tag_integration_spec.rb | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/template.html b/lib/template.html index 733fa5b..0068a81 100755 --- a/lib/template.html +++ b/lib/template.html @@ -45,10 +45,10 @@ {% endif %} {% if paginator.previous_page %} - + {% endif %} {% if paginator.next_page %} - + {% endif %} {% if site.twitter %} @@ -81,19 +81,19 @@ {% if site.webmaster_verifications %} {% if site.webmaster_verifications.google %} - + {% endif %} {% if site.webmaster_verifications.bing %} - + {% endif %} {% if site.webmaster_verifications.alexa %} - + {% endif %} {% if site.webmaster_verifications.yandex %} - + {% endif %} {% elsif site.google_site_verification %} diff --git a/spec/jekyll_seo_tag_integration_spec.rb b/spec/jekyll_seo_tag_integration_spec.rb index 1202677..8f4f589 100755 --- a/spec/jekyll_seo_tag_integration_spec.rb +++ b/spec/jekyll_seo_tag_integration_spec.rb @@ -577,8 +577,8 @@ EOS let(:context) { make_context({}, "paginator" => paginator) } it "outputs pagination links" do - expect(output).to match(%r!!) - expect(output).to match(%r!!) + expect(output).to match(%r!!) + expect(output).to match(%r!!) end end @@ -596,22 +596,22 @@ EOS let(:site) { make_site("webmaster_verifications" => site_verifications) } it "outputs google verification meta" do - expected = %r!! + expected = %r!! expect(output).to match(expected) end it "outputs bing verification meta" do - expected = %r!! + expected = %r!! expect(output).to match(expected) end it "outputs alexa verification meta" do - expected = %r!! + expected = %r!! expect(output).to match(expected) end it "outputs yandex verification meta" do - expected = %r!! + expected = %r!! expect(output).to match(expected) end end