diff --git a/lib/Ebook.php b/lib/Ebook.php index 3b9f56b1..6504e9ab 100644 --- a/lib/Ebook.php +++ b/lib/Ebook.php @@ -331,7 +331,11 @@ class Ebook{ } if($this->ContributorsHtml !== null){ - $this->ContributorsHtml = ucfirst(rtrim(trim($this->ContributorsHtml), ';')) . '.'; + $this->ContributorsHtml = ucfirst(rtrim(trim($this->ContributorsHtml), ';')); + + if(substr(strip_tags($this->ContributorsHtml), -1) != '.'){ + $this->ContributorsHtml .= '.'; + } } $this->AuthorsHtml = $this->GenerateContributorList($this->Authors);