aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content-parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content-parser.c b/src/content-parser.c
index 8821a17..e5bb16c 100644
--- a/src/content-parser.c
+++ b/src/content-parser.c
@@ -193,11 +193,11 @@ blogc_content_parse_inline(const char *src)
break;
}
if (state == LINK_CLOSED || state == LINK_IMAGE) {
+ if (state == LINK_CLOSED)
+ start_state = current;
state = LINK_TEXT;
start = current + 1;
open_bracket = 0;
- if (state == LINK_CLOSED)
- start_state = current;
break;
}
if (state == LINK_TEXT) {