Skip to content

Commit

Permalink
LDEV-5260 testcase for markdownToHtml tables (disabled)
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jan 18, 2025
1 parent 4949ac7 commit fe0ab3c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/functions/MarkdownToHTML.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,18 @@ This is <em><strong>TXTMARK</strong></em>
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( "<table>" );
expect( html ).toInclude( "</table>" );
});

});
}

Expand Down

0 comments on commit fe0ab3c

Please sign in to comment.