Skip to content

Commit a3c810b

Browse files
authored
Merge pull request #661 from ColdBox/copilot/fix-whoops-cfm-indentation-issue
COLDBOX-1394 #resolve Whoops.cfm source code panel renders indentation as ◆◆◆◆ due to chr(20) instead of chr(32)
2 parents 64a3c81 + fdbb615 commit a3c810b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/exceptions/Whoops.cfm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ An enhanced error reporting and debugging tool for ColdBox Framework
644644
</cfif>
645645

646646
<!--- Add spacing for indentation --->
647-
<cfset spacing = "#chr( 20 )##chr( 20 )##chr( 20 )##chr( 20 )#">
647+
<cfset spacing = "#chr( 32 )##chr( 32 )##chr( 32 )##chr( 32 )#">
648648

649649
<!--- Output code only once per instance found --->
650650
<cfset filecontent = []>
@@ -659,7 +659,7 @@ An enhanced error reporting and debugging tool for ColdBox Framework
659659
"#repeatString( spacing, findInitalSpaces[ 1 ].len[ 1 ] )##trimmedline#"
660660
)>
661661
<cfelse>
662-
<cfset arrayAppend( filecontent, "#chr( 20 )##line#" )>
662+
<cfset arrayAppend( filecontent, "#chr( 32 )##line#" )>
663663
</cfif>
664664
</cfloop>
665665

0 commit comments

Comments
 (0)