From 3a49759c0fe9034d57d2dfae38a35c9e06c8c97d Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Mon, 17 May 2021 01:34:01 +0200 Subject: [PATCH] Update 09_Casting.md --- docs/en/02_Developer_Guides/01_Templates/09_Casting.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/02_Developer_Guides/01_Templates/09_Casting.md b/docs/en/02_Developer_Guides/01_Templates/09_Casting.md index e1e650551..fe01175e7 100644 --- a/docs/en/02_Developer_Guides/01_Templates/09_Casting.md +++ b/docs/en/02_Developer_Guides/01_Templates/09_Casting.md @@ -17,7 +17,7 @@ output the result of the [DBHtmlText::FirstParagraph()](api:SilverStripe\ORM\Fie ```ss $Content.FirstParagraph - + $LastEdited.Format("d/m/Y") @@ -72,7 +72,7 @@ $Me ## Casting Methods which return data to the template should either return an explicit object instance describing the type of -content that method sends back, or, provide a type in the `$casting` array for the object. When rendering that method +content that method sends back, or provide a type in the `$casting` array for the object. When rendering that method to a template, SilverStripe will ensure that the object is wrapped in the correct type and values are safely escaped. ```php