Fix typo
Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/292f3ffd Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/292f3ffd Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/292f3ffd Branch: refs/heads/2.3 Commit: 292f3ffd73631a78fd28ccaed7b19fe8bf2315b5 Parents: 95671a5 Author: Yanming Zhou <zhouyanm...@gmail.com> Authored: Fri Nov 10 12:11:28 2017 +0800 Committer: Yanming Zhou <zhouyanm...@gmail.com> Committed: Fri Nov 10 12:11:28 2017 +0800 ---------------------------------------------------------------------- src/manual/en_US/book.xml | 2 +- src/manual/zh_CN/book.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/292f3ffd/src/manual/en_US/book.xml ---------------------------------------------------------------------- diff --git a/src/manual/en_US/book.xml b/src/manual/en_US/book.xml index 4e25ad3..77f9002 100644 --- a/src/manual/en_US/book.xml +++ b/src/manual/en_US/book.xml @@ -13719,7 +13719,7 @@ String BEAN_NAME = "${beanName?j_string}";</programlisting> but keeps the part before the last occurrence of the parameter, rather than after the first. Example:</para> - <programlisting role="template">${"foo.bar.txt"?keep_after_last(".")}</programlisting> + <programlisting role="template">${"foo.bar.txt"?keep_before_last(".")}</programlisting> <para>will print</para> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/292f3ffd/src/manual/zh_CN/book.xml ---------------------------------------------------------------------- diff --git a/src/manual/zh_CN/book.xml b/src/manual/zh_CN/book.xml index 59b19d4..6dba49a 100644 --- a/src/manual/zh_CN/book.xml +++ b/src/manual/zh_CN/book.xml @@ -10207,7 +10207,7 @@ String BEAN_NAME = "${beanName?j_string}";</programlisting> linkend="ref_builtin_keep_before"><literal>keep_before</literal></link> ç¸åï¼ ä½æ¯ä¿çåæ°æåä¸æ¬¡åºç°ä¹åçé¨åï¼èä¸æ¯ç¬¬ä¸æ¬¡åºç°ä¹åãæ¯å¦ï¼</para> - <programlisting role="template">${"foo.bar.txt"?keep_after_last(".")}</programlisting> + <programlisting role="template">${"foo.bar.txt"?keep_before_last(".")}</programlisting> <para>å°ä¼è¾åº</para>