File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -215,13 +215,13 @@ static void remove_trailing_blank_lines(cmark_strbuf *ln) {
215
215
216
216
// Check to see if a node ends with a blank line, descending
217
217
// if needed into lists and sublists.
218
- static bool ends_with_blank_line (cmark_node * node ) {
218
+ static bool S_ends_with_blank_line (cmark_node * node ) {
219
219
if (S_last_line_checked (node )) {
220
220
return (S_last_line_blank (node ));
221
221
} else if ((S_type (node ) == CMARK_NODE_LIST ||
222
222
S_type (node ) == CMARK_NODE_ITEM ) && node -> last_child ) {
223
223
S_set_last_line_checked (node );
224
- return (ends_with_blank_line (node -> last_child ));
224
+ return (S_ends_with_blank_line (node -> last_child ));
225
225
} else {
226
226
S_set_last_line_checked (node );
227
227
return (S_last_line_blank (node ));
@@ -322,7 +322,7 @@ static cmark_node *finalize(cmark_parser *parser, cmark_node *b) {
322
322
// spaces between them:
323
323
subitem = item -> first_child ;
324
324
while (subitem ) {
325
- if (ends_with_blank_line (subitem ) && (item -> next || subitem -> next )) {
325
+ if (S_ends_with_blank_line (subitem ) && (item -> next || subitem -> next )) {
326
326
b -> as .list .tight = false;
327
327
break ;
328
328
}
You can’t perform that action at this time.
0 commit comments