reiji-h 2 lat temu
rodzic
commit
5cd81ecb4f

+ 1 - 1
packages/presentation/src/services/renderer/extract-sections.ts

@@ -18,13 +18,13 @@ function wrapWithSection(parentNode: Parent, startElem: Node, endElem: Node | nu
 
   const section = {
     type: 'section',
+    children: between,
     data: {
       hName: 'section',
       hProperties: {
         className: isDarkMode ? 'invert' : '',
       },
     },
-    children: between,
   };
 
   siblings.splice(startIndex, between.length, section);