File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -911,20 +911,20 @@ static cmark_node *handle_pointy_brace(subject *subj, int options) {
911
911
if (c == '!' && (subj -> flags & FLAG_SKIP_HTML_COMMENT ) == 0 ) {
912
912
c = subj -> input .data [subj -> pos + 1 ];
913
913
if (c == '-' && subj -> input .data [subj -> pos + 2 ] == '-' ) {
914
- if (subj -> input .data [subj -> pos + 3 ] == '>' ) {
915
- matchlen = 4 ;
916
- } else if (subj -> input .data [subj -> pos + 3 ] == '-' &&
914
+ if (subj -> input .data [subj -> pos + 3 ] == '>' ) {
915
+ matchlen = 4 ;
916
+ } else if (subj -> input .data [subj -> pos + 3 ] == '-' &&
917
917
subj -> input .data [subj -> pos + 4 ] == '>' ) {
918
918
matchlen = 5 ;
919
919
} else {
920
920
matchlen = scan_html_comment (& subj -> input , subj -> pos + 1 );
921
921
if (matchlen > 0 ) {
922
922
matchlen += 1 ; // prefix "<"
923
- } else { // no match through end of input: set a flag so
924
- // we don't reparse looking for -->:
925
- subj -> flags |= FLAG_SKIP_HTML_COMMENT ;
926
- }
927
- }
923
+ } else { // no match through end of input: set a flag so
924
+ // we don't reparse looking for -->:
925
+ subj -> flags |= FLAG_SKIP_HTML_COMMENT ;
926
+ }
927
+ }
928
928
} else if (c == '[' ) {
929
929
if ((subj -> flags & FLAG_SKIP_HTML_CDATA ) == 0 ) {
930
930
matchlen = scan_html_cdata (& subj -> input , subj -> pos + 2 );
You can’t perform that action at this time.
0 commit comments