No need to check IS_CODE here.
authorFreeBirdLjj <ljj11011@mail.ustc.edu.cn>
Sat, 4 Oct 2014 15:10:08 +0000 (23:10 +0800)
committerFreeBirdLjj <ljj11011@mail.ustc.edu.cn>
Sat, 4 Oct 2014 15:10:08 +0000 (23:10 +0800)
src/parser.c

index 84f3c87..6294500 100644 (file)
@@ -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;