diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-08-22 19:30:14 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-08-22 19:30:14 (GMT) |
commit | ce8facca2c23f4656747ad3a5b4a8db475855e27 (patch) | |
tree | e5faa5e8d675f525b1cd2f397645136f8193b36f /src/commentcnv.l | |
parent | f0e47672cc3f910aebd1d30fe3db21e9dbd943c4 (diff) | |
download | Doxygen-ce8facca2c23f4656747ad3a5b4a8db475855e27.zip Doxygen-ce8facca2c23f4656747ad3a5b4a8db475855e27.tar.gz Doxygen-ce8facca2c23f4656747ad3a5b4a8db475855e27.tar.bz2 |
Release-1.7.1-20100822
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r-- | src/commentcnv.l | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l index ab56812..660dae6 100644 --- a/src/commentcnv.l +++ b/src/commentcnv.l @@ -468,6 +468,17 @@ void replaceComment(int offset); <Verbatim,VerbatimCode>\n { /* new line in verbatim block */ copyToOutput(yytext,yyleng); } +<Verbatim,VerbatimCode>^[ \t]*"///" { + if (g_blockName=="dot" || g_blockName=="msc" || g_blockName.at(0)=='f') + { + // see bug 487871, strip /// from dot images and formulas. + copyToOutput(" ",3); + } + else // even slashes are verbatim (e.g. \verbatim, \code) + { + REJECT; + } + } <Verbatim,VerbatimCode>. { /* any other character */ copyToOutput(yytext,yyleng); } |