Skip to content

Commit 7ee2df8

Browse files
committed
issue #9264 Markdown tables not rendered for parameters
The inline documentation for parameters was not markdown processed.
1 parent de4a15d commit 7ee2df8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/scanner.l

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7486,12 +7486,16 @@ static void handleParametersCommentBlocks(yyscan_t yyscanner,ArgumentList &al)
74867486
yyextra->current->brief.resize(0);
74877487
74887488
//printf("handleParametersCommentBlock [%s]\n",qPrint(doc));
7489+
int lineNr = orgDocLine;
7490+
Markdown markdown(yyextra->fileName,lineNr);
7491+
QCString strippedDoc = stripIndentation(a.docs);
7492+
QCString processedDoc = Config_getBool(MARKDOWN_SUPPORT) ? markdown.process(strippedDoc,lineNr) : strippedDoc;
74897493
while (yyextra->commentScanner.parseCommentBlock(
74907494
yyextra->thisParser,
74917495
yyextra->current.get(),
7492-
a.docs, // text
7496+
processedDoc, // text
74937497
yyextra->fileName, // file
7494-
yyextra->current->docLine, // line of block start
7498+
lineNr,
74957499
FALSE,
74967500
FALSE,
74977501
FALSE,

0 commit comments

Comments
 (0)