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

Bug 684324 - Strange behavior when placing cite within brief.

Bug 700788 - support @cite within brief description.
parent 1941e88e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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;