Commit a51cf080 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 684324 - Strange behavior when placing cite within brief.

Bug 700788 - support @cite within brief description.
parent 1941e88e
......@@ -171,7 +171,7 @@ static DocCmdMap docCmdMap[] =
{ "relatedalso", &handleRelatedAlso, TRUE },
{ "relatesalso", &handleRelatedAlso, TRUE },
{ "refitem", &handleRefItem, TRUE },
{ "cite", &handleCite, TRUE },
{ "cite", &handleCite, FALSE },
{ "subpage", &handleSubpage, TRUE },
{ "section", &handleSection, TRUE },
{ "subsection", &handleSection, TRUE },
......@@ -2449,6 +2449,11 @@ static bool handleAnchor(const QCString &s)
static bool handleCite(const QCString &s)
{
if (g_spaceBeforeCmd)
{
addOutput(' ');
g_spaceBeforeCmd=FALSE;
}
addOutput("@"+s+" ");
BEGIN(CiteLabel);
return FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment