summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commentscan.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commentscan.l b/src/commentscan.l
index a495c5e..027f000 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -2720,6 +2720,11 @@ static bool handleCite(const QCString &s, const QCStringList &)
static bool handleFormatBlock(const QCString &s, const QCStringList &optList)
{
+ if (!g_spaceBeforeCmd.isEmpty())
+ {
+ addOutput(g_spaceBeforeCmd);
+ g_spaceBeforeCmd.resize(0);
+ }
if (optList.isEmpty())
{
addOutput("@"+s+" ");