From cdc7cc6bb2dd4c2ae2e8bffe1387f7f459868486 Mon Sep 17 00:00:00 2001 From: Yuri Salimovskiy Date: Wed, 11 Oct 2023 11:59:53 +0300 Subject: [PATCH] added clarification about limit modifier Closes https://github.com/ExpressionEngine/ExpressionEngine/issues/3811 --- docs/templates/variable-modifiers.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/templates/variable-modifiers.md b/docs/templates/variable-modifiers.md index 5cb91db5b..1dfde6eec 100755 --- a/docs/templates/variable-modifiers.md +++ b/docs/templates/variable-modifiers.md @@ -135,6 +135,8 @@ Outputs the length of the content in characters. Limits the content to the specified number of characters. Without `preserve_words='n'` may be fewer than the exact limit, as this retains whole words. +Note that all HTML formatting will be stripped out automatically before applying limit modifier. + {excerpt:limit characters='20'} {!-- A discussion… --}