mirror of
https://github.com/standardebooks/web.git
synced 2025-07-09 16:20:27 -04:00
Don't add a period after contributors if the last character is a period
This commit is contained in:
parent
aca5abae47
commit
c278c13cfd
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue