mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Updated phpDoc cautionary message on Text->LimitCharacters()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@69219 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9ded3dfd1f
commit
576f7e15c6
@ -52,8 +52,8 @@ class Text extends DBField {
|
||||
|
||||
/**
|
||||
* Limit this field's content by a number of characters.
|
||||
* Caution: This can be harmful on HTML, it can potentially
|
||||
* malform your HTML if it limits halfway through a tag.
|
||||
* CAUTION: Does not take into account HTML tags, so it
|
||||
* has the potential to return malformed HTML.
|
||||
*
|
||||
* @param int $limit Number of characters to limit by
|
||||
* @param string $add Ellipsis to add to the end of limited string
|
||||
|
Loading…
Reference in New Issue
Block a user