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 46343f2b2e2b859af214915eb1c6571fe768fbf7
Author: ddekany <[email protected]>
AuthorDate: Tue Dec 24 09:55:57 2024 +0100

    Javadoc: Document the effect of incompatibleImprovements 2.3.34.
---
 .../src/main/java/freemarker/template/Configuration.java   | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git 
a/freemarker-core/src/main/java/freemarker/template/Configuration.java 
b/freemarker-core/src/main/java/freemarker/template/Configuration.java
index d320a46b..be0bb482 100644
--- a/freemarker-core/src/main/java/freemarker/template/Configuration.java
+++ b/freemarker-core/src/main/java/freemarker/template/Configuration.java
@@ -1001,6 +1001,20 @@ public class Configuration extends Configurable 
implements Cloneable, ParserConf
      *          and as methods; see {@link BeansWrapper#BeansWrapper(Version)}.
      *       </ul>
      *   </li>
+     *   <li>
+     *       <p>
+     *       2.3.34 (or higher):
+     *       <ul>
+     *       <li><p>
+     *          Fixes this parser bug, which can break already incorrect 
templates that accidentally worked so far:
+     *          {@code [#sep]}, {@code <#sep>}, and {@code <sep>} were all 
interpreted as a call to the {@code sep}
+     *          directive, regardless if the already established tag syntax 
was angle bracket or square bracket tags, or
+     *          if the tag syntax was strict (requiring {@code #}) or not. 
With this fix enabled, a {@code sep} tag with
+     *          the tag syntax that doesn't match the configured/established 
tag syntax will be seen as just static
+     *          text, just as it's done for any other FTL tags.
+     *       </ul>
+     *       </ul>
+     *   </li>
      * </ul>
      * 
      * @throws IllegalArgumentException

Reply via email to