File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -817,15 +817,15 @@ function htmlFormatPostprocessor(
817817
818818 // Process tables to restore th-vs-td markers
819819 const tables = doc . querySelectorAll (
820- 'table[data-quarto-postprocess-tables ="true"]' ,
820+ 'table[data-quarto-postprocess="true"]' ,
821821 ) ;
822-
823822 for ( let i = 0 ; i < tables . length ; ++ i ) {
824823 const table = tables [ i ] as Element ;
825- if ( table . getAttribute ( "data-quarto-disable-processing" ) ) {
824+ if ( table . getAttribute ( "data-quarto-disable-processing" ) === "true" ) {
826825 continue ;
827826 }
828- table . removeAttribute ( "data-quarto-postprocess-tables" ) ;
827+ table . removeAttribute ( "data-quarto-postprocess" ) ;
828+ table . removeAttribute ( "data-quarto-disable-processing" ) ;
829829 table . querySelectorAll ( "tr" ) . forEach ( ( tr ) => {
830830 const { children } = tr as Element ;
831831 for ( let j = 0 ; j < children . length ; ++ j ) {
You can’t perform that action at this time.
0 commit comments