mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-23 11:29:10 -04:00
ALPHA 3.0.2a
This commit is contained in:
@@ -136,6 +136,6 @@ abstract class Text extends Base
|
||||
|
||||
protected static function appendEnd($text)
|
||||
{
|
||||
return rtrim($text, ',— ').'.';
|
||||
return preg_replace("/([ ,-:;\x{2013}\x{2014}]+$)/us", '', $text).'.';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user