This is an automated email from the ASF dual-hosted git repository. ddekany pushed a change to branch 2.3-gae in repository https://gitbox.apache.org/repos/asf/freemarker.git
from 782daab2 ?c now works on strings, and it outputs a quoted string literal that's compatible with JSON, and JavaScript. Added ?cn to format missing/null values. Added cFormat setting to specify in what language should ?c output the values. new dc592821 Manual: Adjusted version history, and some typo new e5fa45f4 Improved StringUtil.jsStringEnc to support both quotation marks and apostrophe. Added a mode that is both compatible with JSON and JavaScript, without decreasing safety when used in JavaScript. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../freemarker/core/AbstractLegacyCFormat.java | 5 +- src/main/java/freemarker/core/JSONCFormat.java | 4 +- .../java/freemarker/core/JavaScriptCFormat.java | 4 +- .../freemarker/template/utility/StringUtil.java | 117 ++++++++++++++++----- src/manual/en_US/book.xml | 40 ++++--- .../template/utility/StringUtilTest.java | 77 +++++++++++++- 6 files changed, 203 insertions(+), 44 deletions(-)