pinosaur
/
smdp.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
455a6a7
)
No need to check IS_CODE here.
author
FreeBirdLjj
<ljj11011@mail.ustc.edu.cn>
Sat, 4 Oct 2014 15:10:08 +0000
(23:10 +0800)
committer
FreeBirdLjj
<ljj11011@mail.ustc.edu.cn>
Sat, 4 Oct 2014 15:10:08 +0000
(23:10 +0800)
src/parser.c
patch
|
blob
|
history
diff --git
a/src/parser.c
b/src/parser.c
index
84f3c87
..
6294500
100644
(file)
--- a/
src/parser.c
+++ b/
src/parser.c
@@
-363,9
+363,6
@@
int markdown_analyse(cstring_t *text) {
if(text->text[i] == ' ') {
spaces++;
if(text->text[i] == ' ') {
spaces++;
- } else if(CHECK_BIT(bits, IS_CODE)) {
- other++;
-
} else {
switch(text->text[i]) {
case '=': equals++; break;
} else {
switch(text->text[i]) {
case '=': equals++; break;