File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -455,10 +455,10 @@ const nodes: {
455455 return [
456456 "a" ,
457457 {
458- tagType : node . attrs . tagType ,
458+ tagType : node . attrs . tagType as string ,
459459 href : node . attrs . href as string ,
460460 title : node . attrs . title as string ,
461- class : " s-tag " + node . attrs . additionalClasses
461+ class : ` s-tag ${ node . attrs . additionalClasses as string } `
462462 } ,
463463 node . attrs . tagName
464464 ] ;
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ function parse_tag_link(
6767 else {
6868 // We don't want to crash the parsing process here since we can still display a passable version of the tag link.
6969 // However, we should at least log a console error.
70+ // eslint-disable-next-line no-console
7071 console . error ( `Unable to fully render taglink for [${ tagName } ] due to invalid response from options.renderer.` ) ;
7172 }
7273 }
You can’t perform that action at this time.
0 commit comments