diff --git a/internal/printer/printer_test.go b/internal/printer/printer_test.go index 207b63a98..3be0eb6f6 100644 --- a/internal/printer/printer_test.go +++ b/internal/printer/printer_test.go @@ -2323,6 +2323,19 @@ const content = "lol"; `, }, }, + { + name: "#971", + source: ` + {text}. + +
This should not be a link
`, + want: want{ + code: ` + ${$$maybeRenderHead($$result)}${text}. + +This should not be a link
`, + }, + }, { name: "complex table", source: `