@@ -701,7 +701,7 @@ def _fmt(r, c):
701701 + '<td>' .join (_fmt (r , c ) for c in cols )
702702 for r in rows
703703 )
704- return liblet_table (f'{ head } \n { body } ' )
704+ return liblet_table (f'{ head } \n { body } ' , True )
705705 rows = list (self .data .keys ())
706706 if self .fmt ['rows_sort' ]:
707707 rows = sorted (rows )
@@ -712,7 +712,7 @@ def _fmt(r, c):
712712 letstr (self .data [r ], self .fmt ['elem_sep' ], sort = self .fmt ['letstr_sort' ], remove_outer = True ),
713713 )
714714 for r in rows
715- )
715+ ), True
716716 )
717717
718718
@@ -735,7 +735,7 @@ def _repr_html_(self):
735735 )
736736 + '</pre></td>'
737737 for l in range (N , L - 1 , - 1 ) # noqa: E741
738- )
738+ ), True
739739 )
740740
741741
@@ -777,9 +777,8 @@ def embed_css(custom_css=CUSTOM_CSS):
777777 return HTML (f'<style>{ custom_css } </style>' )
778778
779779
780- def liblet_table (content ):
781- return HTML (f'<table class=liblet>{ content } </table>' )
782-
780+ def liblet_table (content , as_str = False ):
781+ return f'<table class="liblet" data-quarto-disable-processing="true">{ content } </table>' if as_str else HTML (f'<table class=liblet>{ content } </table>' )
783782
784783def resized_svg_repr (obj , width = 800 , height = 600 ):
785784 if hasattr (obj , '_repr_image_svg_xml' ):
0 commit comments