From 0784dd755dd849ed6a1f9cb944e5df64aa433a10 Mon Sep 17 00:00:00 2001 From: Moustapha HappyDev Date: Fri, 1 Mar 2024 18:51:05 +0000 Subject: [PATCH] test: add test for #971 --- internal/printer/printer_test.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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: ` +

This should not be a link

`, + want: want{ + code: ` +

This should not be a link

`, + }, + }, { name: "complex table", source: `