ext/commonmarker/inlines.c in commonmarker-0.17.9 vs ext/commonmarker/inlines.c in commonmarker-0.17.10
- old
+ new
@@ -970,10 +970,10 @@
if (input->data[i] == '>') {
++i;
break;
} else if (input->data[i] == '\\')
i += 2;
- else if (cmark_isspace(input->data[i]) || input->data[i] == '<')
+ else if (input->data[i] == '\n' || input->data[i] == '<')
return manual_scan_link_url_2(input, offset, output);
else
++i;
}
} else {