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

Merge branch 'bug684324'

parents 5e056236 a51cf080
......@@ -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