File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -314,6 +314,8 @@ page:
314314 class : ' aura-dbp'
315315 - name : ' AuraDB Virtual Dedicated Cloud'
316316 class : ' aura-dbe'
317+ - name : ' AuraDB Business Critical'
318+ class : ' aura-dbc'
317319 - name : ' AuraDS Professional'
318320 class : ' aura-dsp'
319321 - name : ' AuraDS Enterprise'
Original file line number Diff line number Diff line change 3030 var list = headings . reduce ( function ( accum , heading ) {
3131 var link = document . createElement ( 'a' )
3232 var headingClone = heading . cloneNode ( true )
33- headingClone . querySelectorAll ( 'div, a' ) . forEach ( function ( el ) { el . remove ( ) } )
34- link . innerHTML = headingClone . innerHTML
33+ // console.log(headingClone)
34+ headingClone . querySelectorAll ( 'div, a.anchor' ) . forEach ( function ( el ) { el . remove ( ) } )
35+ if ( headingClone . querySelector ( 'a' ) ) {
36+ link . textContent = headingClone . textContent
37+ } else {
38+ link . innerHTML = headingClone . innerHTML
39+ }
3540 links [ ( link . href = '#' + heading . id ) ] = link
3641 var listItem = document . createElement ( 'li' )
3742 listItem . dataset . level = parseInt ( heading . nodeName . slice ( 1 ) ) - 1
You can’t perform that action at this time.
0 commit comments