FREEMARKER-58: Manual example mistakes
Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/367560fe Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/367560fe Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/367560fe Branch: refs/heads/2.3 Commit: 367560fecfbbc2733c97f95b4d9afc8ab1431bbf Parents: dc3277e Author: ddekany <[email protected]> Authored: Tue Jun 13 18:57:52 2017 +0200 Committer: ddekany <[email protected]> Committed: Tue Jun 13 18:57:52 2017 +0200 ---------------------------------------------------------------------- src/manual/en_US/book.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/367560fe/src/manual/en_US/book.xml ---------------------------------------------------------------------- diff --git a/src/manual/en_US/book.xml b/src/manual/en_US/book.xml index 3f003b3..77b13cd 100644 --- a/src/manual/en_US/book.xml +++ b/src/manual/en_US/book.xml @@ -5151,9 +5151,9 @@ [email protected]</programlisting> <literal>namespace</literal> parameter:</para> <programlisting role="template"><#import "/lib/example.ftl" as e> -${my.mail} +${e.mail} <#assign mail="[email protected]" <emphasis>in e</emphasis>> -${my.mail}</programlisting> +${e.mail}</programlisting> <programlisting role="output">[email protected] [email protected]</programlisting> @@ -5218,7 +5218,7 @@ User is: ${user} <#import "/lib/example.ftl" as e2> <#import "/lib/example.ftl" as e3> ${e.mail}, ${e2.mail}, ${e3.mail} -<#assign mail="[email protected]" in my> +<#assign mail="[email protected]" in e> ${e.mail}, ${e2.mail}, ${e3.mail}</programlisting> <programlisting role="output">[email protected], [email protected], [email protected]
