File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ exports[`gatsby-remark-autolink-headers adds id to a markdown header 1`] = `
4
4
Object {
5
5
" children" : Array [
6
6
Object {
7
+ " children" : Array [],
7
8
" data" : Object {
8
9
" hChildren" : Array [
9
10
Object {
@@ -69,6 +70,7 @@ exports[`gatsby-remark-autolink-headers adds id to a markdown header with custom
69
70
Object {
70
71
" children" : Array [
71
72
Object {
73
+ " children" : Array [],
72
74
" data" : Object {
73
75
" hChildren" : Array [
74
76
Object {
@@ -134,6 +136,7 @@ exports[`gatsby-remark-autolink-headers adds id to a markdown header with custom
134
136
Object {
135
137
" children" : Array [
136
138
Object {
139
+ " children" : Array [],
137
140
" data" : Object {
138
141
" hChildren" : Array [
139
142
Object {
@@ -247,6 +250,7 @@ exports[`gatsby-remark-autolink-headers maintain case of markdown header for id
247
250
Object {
248
251
" children" : Array [
249
252
Object {
253
+ " children" : Array [],
250
254
" data" : Object {
251
255
" hChildren" : Array [
252
256
Object {
@@ -312,6 +316,7 @@ exports[`gatsby-remark-autolink-headers maintain case of markdown header for id
312
316
Object {
313
317
" children" : Array [
314
318
Object {
319
+ " children" : Array [],
315
320
" data" : Object {
316
321
" hChildren" : Array [
317
322
Object {
@@ -377,6 +382,7 @@ exports[`gatsby-remark-autolink-headers maintain case of markdown header for id
377
382
Object {
378
383
" children" : Array [
379
384
Object {
385
+ " children" : Array [],
380
386
" data" : Object {
381
387
" hChildren" : Array [
382
388
Object {
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ module.exports = (
60
60
type : `link` ,
61
61
url : `#${ id } ` ,
62
62
title : null ,
63
+ children : [ ] ,
63
64
data : {
64
65
hProperties : {
65
66
"aria-label" : `${ label } permalink` ,
You can’t perform that action at this time.
0 commit comments