summaryrefslogtreecommitdiffstats
path: root/src/markdown.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-02-21 20:03:40 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-02-21 20:03:40 (GMT)
commit8f67d4f63efd45b0d38502bdf68987d7fc1e92e9 (patch)
treedc636d620574997f2ced2e0bca6790e38a5b0c4f /src/markdown.cpp
parent080a465b1321ff93c05ce398cd18a577e0ebae4b (diff)
downloadDoxygen-8f67d4f63efd45b0d38502bdf68987d7fc1e92e9.zip
Doxygen-8f67d4f63efd45b0d38502bdf68987d7fc1e92e9.tar.gz
Doxygen-8f67d4f63efd45b0d38502bdf68987d7fc1e92e9.tar.bz2
Bug 743675 - Non-ascii characters are not emphasised
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r--src/markdown.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp
index ee66127..6ed3b62 100644
--- a/src/markdown.cpp
+++ b/src/markdown.cpp
@@ -56,7 +56,8 @@
#define isIdChar(i) \
((data[i]>='a' && data[i]<='z') || \
(data[i]>='A' && data[i]<='Z') || \
- (data[i]>='0' && data[i]<='9')) \
+ (data[i]>='0' && data[i]<='9') || \
+ (((unsigned char)data[i])>=0x80)) // unicode characters
// is character at position i in data allowed before an emphasis section
#define isOpenEmphChar(i) \