We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5db5ae8 commit e7c8cbdCopy full SHA for e7c8cbd
src/backends/text/text_backend.jl
@@ -226,7 +226,13 @@ function _text__print_table(
226
# We will create a vector to copy each column string that will be aligned. This
227
# procedure is necessary because if the user wants to also apply the alignment to
228
# the summary rows, we need to copy those lines before the alignment process.
229
- num_summary_rows = !isnothing(summary_rows) ? size(summary_rows, 1) : 0
+
230
+ if isnothing(summary_rows)
231
+ # We should not apply the alignment regex to the summary rows if there is none.
232
+ apply_alignment_regex_to_summary_rows = false
233
+ end
234
235
+ num_summary_rows = apply_alignment_regex_to_summary_rows ? size(summary_rows, 1) : 0
236
237
column_str = Vector{String}(
238
undef,
0 commit comments