From 79ec73946e7bbac4bd5147e17155313cbad4b80c Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Fri, 4 Sep 2020 12:42:27 -0500 Subject: [PATCH] Close all void HTML tags and remove HTML entities --- scripts/generate-rss.php | 2 +- templates/ContributeAlert.php | 2 +- templates/EbookGrid.php | 6 +-- templates/Header.php | 40 +++++++++---------- templates/OpdsAcquisitionFeed.php | 2 +- templates/OpdsNavigationFeed.php | 2 +- templates/SearchForm.php | 4 +- www/about/index.php | 2 +- .../tips-for-editors-and-proofreaders.php | 16 ++++---- www/ebooks/ebook.php | 6 +-- www/ebooks/index.php | 2 +- www/index.php | 25 +++++++----- www/opds/search.php | 2 +- 13 files changed, 57 insertions(+), 54 deletions(-) diff --git a/scripts/generate-rss.php b/scripts/generate-rss.php index cfd01c89..2f0b8664 100644 --- a/scripts/generate-rss.php +++ b/scripts/generate-rss.php @@ -45,7 +45,7 @@ print("\n"); https://creativecommons.org/publicdomain/zero/1.0/ http://blogs.law.harvard.edu/tech/rss - + /images/logo-rss.png Standard Ebooks - New Releases diff --git a/templates/ContributeAlert.php b/templates/ContributeAlert.php index 1e645bd9..7191a863 100644 --- a/templates/ContributeAlert.php +++ b/templates/ContributeAlert.php @@ -1,5 +1,5 @@ diff --git a/templates/EbookGrid.php b/templates/EbookGrid.php index 0fda5f74..cefb1e70 100644 --- a/templates/EbookGrid.php +++ b/templates/EbookGrid.php @@ -8,9 +8,9 @@ if(!isset($ebooks)){
  • - CoverImage2xAvifUrl !== null){ ?> - - The cover for the Standard Ebooks edition of <?= Formatter::ToPlainText(strip_tags($ebook->TitleWithCreditsHtml)) ?> + CoverImage2xAvifUrl !== null){ ?> + + The cover for the Standard Ebooks edition of <?= Formatter::ToPlainText(strip_tags($ebook->TitleWithCreditsHtml)) ?>

    Title) ?>

    diff --git a/templates/Header.php b/templates/Header.php index c1b4dc1e..571fe3f9 100644 --- a/templates/Header.php +++ b/templates/Header.php @@ -21,30 +21,30 @@ if(!isset($manual)){ ?> - + <? if($title != ''){ ?><?= Formatter::ToPlainText($title) ?> - <? } ?>Standard Ebooks: Free and liberated ebooks, carefully produced for the true book lover. - - + + - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + +