Skip to content

Commit

Permalink
Remove / from img tag
Browse files Browse the repository at this point in the history
  • Loading branch information
lszeremeta committed Apr 2, 2021
1 parent 9311196 commit 1c1004c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ function createRDFaOutput()
$doc = $doc . "\n <div property='schema:disambiguatingDescription'>$disambiguatingdescription1</div>";
}
if ($image1 != '') {
$doc = $doc . "\n <img src='$image1' alt='Image of the Molecule$i' rel='schema:image'/>";
$doc = $doc . "\n <img src='$image1' alt='Image of the Molecule$i' rel='schema:image'>";
}
if ($alternatename1 != '') {
$doc = $doc . "\n <div property='schema:alternateName'>$alternatename1</div>";
Expand Down Expand Up @@ -311,7 +311,7 @@ function createMicrodataOutput()
$doc = $doc . "\n <div itemprop='disambiguatingDescription'>$disambiguatingdescription1</div>";
}
if ($image1 != '') {
$doc = $doc . "\n <img src='$image1' alt='Image of the Molecule$i' itemprop='image'/>";
$doc = $doc . "\n <img src='$image1' alt='Image of the Molecule$i' itemprop='image'>";
}
if ($alternatename1 != '') {
$doc = $doc . "\n <div itemprop='alternateName'>$alternatename1</div>";
Expand Down

0 comments on commit 1c1004c

Please sign in to comment.