From fe0ab3c27b22cee6788d03c362601654a1143574 Mon Sep 17 00:00:00 2001 From: Zac Spitzer Date: Sat, 18 Jan 2025 16:10:38 +0100 Subject: [PATCH] LDEV-5260 testcase for markdownToHtml tables (disabled) --- test/functions/MarkdownToHTML.cfc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/functions/MarkdownToHTML.cfc b/test/functions/MarkdownToHTML.cfc index 5761f72358..5ce6ddef81 100644 --- a/test/functions/MarkdownToHTML.cfc +++ b/test/functions/MarkdownToHTML.cfc @@ -99,6 +99,18 @@ This is TXTMARK if( fileExists( file ) ) fileDelete( file ); } }); + + it( title = "Checking markdownToHTML supports tables", skip=true, body=function( currentSpec ) { + var md = [ + "| First Header | Second Header |", + "| ------------- | ------------- |", + "| Content Cell | Content Cell |" + ].toList( chr( 10 ) ); + var html = markdownToHtml( md ); + expect( html ).toInclude( "" ); + expect( html ).toInclude( "
" ); + }); + }); }