Skip to content

Commit

Permalink
force long names to wrap without breaking markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Nov 18, 2024
1 parent f8988dc commit c308772
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom/spreadsheet-cfml/test/report.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@
var row = [];
loop array=suiteSpecs item="test" {
ArrayAppend( row, wrap(test.suiteSpec, 70) );
// force long names to wrap without breaking markdown
ArrayAppend( row, REReplace( wrap(test.suiteSpec, 70), "\n", " ", "ALL") );
loop array=sortedRuns item="local.run" {
if ( structKeyExists( run.stats, test.suiteSpec ) )
arrayAppend( row, numberFormat( run.stats[test.suiteSpec].time ) );
Expand Down

0 comments on commit c308772

Please sign in to comment.