From 8a261a6ca1a533a32343a627c9ee866d9fbfea01 Mon Sep 17 00:00:00 2001 From: Arnas Udovic Date: Tue, 14 Feb 2023 17:43:37 +0200 Subject: [PATCH] try to ignore images for now --- formatter.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/formatter.go b/formatter.go index d9246b8..a34f2ef 100644 --- a/formatter.go +++ b/formatter.go @@ -26,7 +26,8 @@ func (fileContent *FileContent) FormatContent() string { var buffer []byte data := []byte(content) - re := regexp.MustCompile(`!?\[([^\]*]*)\]\(([^ ]*)\)`) + re := regexp.MustCompile(`(?