Fixed issue with trailing newlines in macrodefs (#7371)

This commit is contained in:
Cameron Fischer
2023-03-23 18:37:35 -04:00
committed by GitHub
parent 925ff202a0
commit bcca4eca81
2 changed files with 23 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
title: Macros/TrailingNewlines
description: Trailing newlines in macros must not be dropped
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]
title: Output
\define inner()
Paragraph 1
Paragraph 2
\end
\define outer()
<$macrocall $name=inner />
\end
<<outer>>
+
title: ExpectedResult
<p>Paragraph 1</p><p>Paragraph 2</p>