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:
Sean Harvey 2008-12-16 09:52:52 +00:00 committed by Sam Minnee
parent 9ded3dfd1f
commit 576f7e15c6

View File

@ -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