mirror of
https://github.com/fletcher/MultiMarkdown-6.git
synced 2024-10-04 18:47:31 +03:00
FIXED: Fix bug in determining label for headers
This commit is contained in:
parent
9c280720bd
commit
ab903787a2
@ -1332,6 +1332,9 @@ void process_definition_stack(mmd_engine * e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
token * manual_label_from_header(token * h, const char * source) {
|
token * manual_label_from_header(token * h, const char * source) {
|
||||||
|
if (!h || !h->child)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
token * walker = h->child->tail;
|
token * walker = h->child->tail;
|
||||||
token * label = NULL;
|
token * label = NULL;
|
||||||
short count = 0;
|
short count = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user