You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2021/02/14 20:33:11 UTC
[freemarker] 01/02: Manual: Cleaner ?chop_linebreak description.
This is an automated email from the ASF dual-hosted git repository.
ddekany pushed a commit to branch 2.3-gae
in repository https://gitbox.apache.org/repos/asf/freemarker.git
commit 16df1b4b42bf63cb661ceecffb803125ed62e8aa
Author: ddekany <dd...@apache.org>
AuthorDate: Sun Feb 14 21:27:33 2021 +0100
Manual: Cleaner ?chop_linebreak description.
---
src/manual/en_US/book.xml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/manual/en_US/book.xml b/src/manual/en_US/book.xml
index 3465335..01b21b6 100644
--- a/src/manual/en_US/book.xml
+++ b/src/manual/en_US/book.xml
@@ -13336,9 +13336,11 @@ Green Mouse</programlisting>
<primary>chop_linebreak built-in</primary>
</indexterm>
- <para>The string without the <link
+ <para>Returns the string without the <link
linkend="gloss.lineBreak">line-break</link> at its very end if there
- was a line-break, otherwise the unchanged string.</para>
+ was a line-break, otherwise the unchanged string. If the string ends
+ with multiple line-breaks, only the last line-break is
+ removed.</para>
</section>
<section xml:id="ref_builtin_contains">
@@ -13356,8 +13358,7 @@ Green Mouse</programlisting>
<para>Returns if the substring specified as the parameter to this
built-in occurrs in the string. For example:</para>
- <programlisting role="template"><#if "piceous"?contains("ice")>It contains "ice"</#if>
-</programlisting>
+ <programlisting role="template"><#if "piceous"?contains("ice")>It contains "ice"</#if></programlisting>
<para>This will output:</para>