Skip to content

Commit

Permalink
Temporarily fix transitive .include issue
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgio committed Jun 27, 2024
1 parent 4f0b8be commit 64f9ae8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fun include(
): OutputValue<*> {
// Read file content
val file = file(context, path)
val raw = file.readText()
val raw = "\n" + file.readText()

// Evaluate the Quarkdown source.
// This automatically converts the source into a value (e.g. a node, a string, a number, etc.)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ class FullPipelineTest {
""".trimIndent(),
) {
assertEquals(
"<h1>Main</h1><h1>Included</h2><p>Hello, Gio!</p><h3>Hello, world!</h3>",
"<h1>Main</h1><h1>Included</h1><p>Hello, Gio!</p><h3>Hello, world!</h3>",
it,
)
}
Expand Down

0 comments on commit 64f9ae8

Please sign in to comment.