Skip to content

Commit 11cb2e8

Browse files
committed
issue doxygen#11812 How to linebreak inside long titles in a HTML description list (2)
- Allow `\n` command inside a `<dt>` tag
1 parent 206f0e0 commit 11cb2e8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/docnode.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2475,7 +2475,11 @@ Token DocHtmlDescTitle::parse()
24752475
}
24762476
}
24772477
}
2478-
2478+
break;
2479+
case CommandType::CMD_LINEBREAK:
2480+
{
2481+
children().append<DocLineBreak>(parser(),thisVariant(),parser()->context.token->attribs);
2482+
}
24792483
break;
24802484
default:
24812485
warn_doc_error(parser()->context.fileName,parser()->tokenizer.getLineNr(),"Illegal command '{:c}{}' found as part of a <dt> tag",

0 commit comments

Comments
 (0)