mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-06-19 20:08:24 -04:00
ALPHA 3.0.2a
This commit is contained in:
+1
-1
@@ -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