diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-04-13 09:33:52 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-04-13 09:33:52 (GMT) |
commit | 385b87e08c23b1392d0e6d6fbdb6ef463fa28477 (patch) | |
tree | 33f9e024a69a755aaf7d3c2cec778648f6f4009a /src/htmlentity.cpp | |
parent | 4ccfb9efa8382de50dfc5b176cb147fd1b05870c (diff) | |
download | Doxygen-385b87e08c23b1392d0e6d6fbdb6ef463fa28477.zip Doxygen-385b87e08c23b1392d0e6d6fbdb6ef463fa28477.tar.gz Doxygen-385b87e08c23b1392d0e6d6fbdb6ef463fa28477.tar.bz2 |
Added support for \-- and \--- to prevent interpretation as ndash and mdash
Diffstat (limited to 'src/htmlentity.cpp')
-rw-r--r-- | src/htmlentity.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/htmlentity.cpp b/src/htmlentity.cpp index c1a9ad0..c49491e 100644 --- a/src/htmlentity.cpp +++ b/src/htmlentity.cpp @@ -311,7 +311,8 @@ static struct htmlEntityInfo { SYM(DoubleColon), "::", "::", "::", "::", "::", "::", "::", { "::", DocSymbol::Perl_string }}, { SYM(Percent), "%", "%", "%", "%", "\\%", "%", "%", { "%", DocSymbol::Perl_char }}, { SYM(Pipe), "|", "|", "|", "|", "$|$", "|", "|", { "|", DocSymbol::Perl_char }}, - { SYM(Quot), "\"", "\"", "\"", """, "\"", "\"", "\"", { "\"", DocSymbol::Perl_char }} + { SYM(Quot), "\"", "\"", "\"", """, "\"", "\"", "\"", { "\"", DocSymbol::Perl_char }}, + { SYM(Minus), "-", "-", "-", "-", "-\\/", "-", "-", { "-", DocSymbol::Perl_char }} }; static const int g_numHtmlEntities = (int)(sizeof(g_htmlEntities)/ sizeof(*g_htmlEntities)); |