We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a0a2e8 commit 1f626beCopy full SHA for 1f626be
1 file changed
lib/rouge/formatters/html_table.rb
@@ -26,7 +26,7 @@ def stream(tokens, &b)
26
formatted = @inner.format(tokens)
27
unless last_val && last_val.end_with?(?\n)
28
num_lines += 1
29
- formatted << ?\n
+ formatted << ?\n unless formatted.end_with?(?\n)
30
end
31
32
# generate a string of newline-separated line numbers for the gutter>
0 commit comments