From fc1464727f95508935cfc65d689b74e1709d3649 Mon Sep 17 00:00:00 2001 From: Alexey Semenyuk Date: Tue, 15 Apr 2025 16:06:12 +0000 Subject: [PATCH] 8354320: Changes to jpackage.md cause pandoc warning Reviewed-by: almatvee, ihse, alanb --- make/autoconf/basic_tools.m4 | 10 +++++++++- src/jdk.jpackage/share/man/jpackage.md | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/make/autoconf/basic_tools.m4 b/make/autoconf/basic_tools.m4 index eac14207b1d..5815c55c962 100644 --- a/make/autoconf/basic_tools.m4 +++ b/make/autoconf/basic_tools.m4 @@ -468,7 +468,15 @@ AC_DEFUN_ONCE([BASIC_SETUP_PANDOC], AC_MSG_CHECKING([if the pandoc smart extension needs to be disabled for markdown]) if $PANDOC --list-extensions | $GREP -q '+smart'; then AC_MSG_RESULT([yes]) - PANDOC_MARKDOWN_FLAG="markdown-smart" + PANDOC_MARKDOWN_FLAG="$PANDOC_MARKDOWN_FLAG-smart" + else + AC_MSG_RESULT([no]) + fi + + AC_MSG_CHECKING([if the pandoc tex_math_dollars extension needs to be disabled for markdown]) + if $PANDOC --list-extensions | $GREP -q '+tex_math_dollars'; then + AC_MSG_RESULT([yes]) + PANDOC_MARKDOWN_FLAG="$PANDOC_MARKDOWN_FLAG-tex_math_dollars" else AC_MSG_RESULT([no]) fi diff --git a/src/jdk.jpackage/share/man/jpackage.md b/src/jdk.jpackage/share/man/jpackage.md index c50370c9641..34e524f9eee 100644 --- a/src/jdk.jpackage/share/man/jpackage.md +++ b/src/jdk.jpackage/share/man/jpackage.md @@ -236,7 +236,7 @@ The `jpackage` tool will take as input a Java application and a Java run-time im will be ignored, and these expandable substrings will be replaced by values calculated by the app launcher. - Prefix the dollar sign character with the backslash character (\) + Prefix the dollar sign character with the backslash character (\\) to prevent substring expansion. `--java-options` *options*