From 63faa143fbc841d0e21a9903c51b3d9ab0216b92 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Fri, 27 Feb 2015 17:30:04 +0100 Subject: process inline doc tags in values of block tags --- test/data/format/javaCodeInParam.java | 7 +++++++ test/data/format/javaCodeInParam.md | 15 +++++++++++++++ test/src/format/MarkdownFormatTest.kt | 6 ++++++ 3 files changed, 28 insertions(+) create mode 100644 test/data/format/javaCodeInParam.java create mode 100644 test/data/format/javaCodeInParam.md (limited to 'test') diff --git a/test/data/format/javaCodeInParam.java b/test/data/format/javaCodeInParam.java new file mode 100644 index 00000000..d1cdf6cd --- /dev/null +++ b/test/data/format/javaCodeInParam.java @@ -0,0 +1,7 @@ +package test; + +/** + * @param T this is {@code some code} and other text + */ +class C { +} diff --git a/test/data/format/javaCodeInParam.md b/test/data/format/javaCodeInParam.md new file mode 100644 index 00000000..ef54eb6b --- /dev/null +++ b/test/data/format/javaCodeInParam.md @@ -0,0 +1,15 @@ +[test](test/index) / [test](test/test/index) / [C](test/test/-c) + + +# C + +`open class C<T> ` + + + + +### Parameters + +`T` - this is `some code` and other text + + diff --git a/test/src/format/MarkdownFormatTest.kt b/test/src/format/MarkdownFormatTest.kt index 2ee4fa46..49d2ec1b 100644 --- a/test/src/format/MarkdownFormatTest.kt +++ b/test/src/format/MarkdownFormatTest.kt @@ -130,4 +130,10 @@ public class MarkdownFormatTest { markdownService.appendNodes(tempLocation, output, model.members.single().members) } } + + Test fun javaCodeInParam() { + verifyOutput("test/data/format/javaCodeInParam.java", ".md") { model, output -> + markdownService.appendNodes(tempLocation, output, model.members.single().members) + } + } } -- cgit