Skip to content

Commit 4f247ae

Browse files
committed
lahout: single newline between preamble code blocks
1 parent 5aa011a commit 4f247ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/filters/layout/layout.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ function partitionCells(divEl)
139139

140140
if isPreambleBlock(block) then
141141
if block.t == "CodeBlock" and #preamble > 0 and preamble[#preamble].t == "CodeBlock" then
142-
preamble[#preamble].text = preamble[#preamble].text .. "\n\n" .. block.text
142+
preamble[#preamble].text = preamble[#preamble].text .. "\n" .. block.text
143143
else
144144
preamble:insert(block)
145145
end

0 commit comments

Comments
 (0)