mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 15:50:29 -04:00
Close all void HTML tags and remove HTML entities
This commit is contained in:
parent
dec516e3f1
commit
79ec73946e
13 changed files with 57 additions and 54 deletions
|
@ -79,9 +79,9 @@ catch(\Exception $ex){
|
|||
<? } ?>
|
||||
</hgroup>
|
||||
<picture>
|
||||
<? if($ebook->HeroImage2xAvifUrl !== null){ ?><source srcset="<?= $ebook->HeroImage2xAvifUrl ?> 2x, <?= $ebook->HeroImageAvifUrl ?> 1x" type="image/avif"><? } ?>
|
||||
<source srcset="<?= $ebook->HeroImage2xUrl ?> 2x, <?= $ebook->HeroImageUrl ?> 1x" type="image/jpg">
|
||||
<img src="<?= $ebook->HeroImage2xUrl ?>" alt="The cover for the Standard Ebooks edition of <?= Formatter::ToPlainText(strip_tags($ebook->TitleWithCreditsHtml)) ?>">
|
||||
<? if($ebook->HeroImage2xAvifUrl !== null){ ?><source srcset="<?= $ebook->HeroImage2xAvifUrl ?> 2x, <?= $ebook->HeroImageAvifUrl ?> 1x" type="image/avif"/><? } ?>
|
||||
<source srcset="<?= $ebook->HeroImage2xUrl ?> 2x, <?= $ebook->HeroImageUrl ?> 1x" type="image/jpg"/>
|
||||
<img src="<?= $ebook->HeroImage2xUrl ?>" alt="The cover for the Standard Ebooks edition of <?= Formatter::ToPlainText(strip_tags($ebook->TitleWithCreditsHtml)) ?>"/>
|
||||
</picture>
|
||||
</header>
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ catch(\Exception $ex){
|
|||
<? } ?>
|
||||
<? if(sizeof($ebooks) > 0 && $query === null && $tag === null && $collection === null){ ?>
|
||||
<aside class="sort">
|
||||
<form action="" method="get">
|
||||
<form action="/ebooks" method="get">
|
||||
<label>Sort by
|
||||
<select name="sort">
|
||||
<option value="<?= SORT_NEWEST ?>"<? if($sort == SORT_NEWEST){ ?> selected<? } ?>>newest</option>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue