From 909131cda84a46626fb9d177a3f4c8aaa26fbc66 Mon Sep 17 00:00:00 2001 From: sloum Date: Fri, 15 May 2020 22:25:56 -0700 Subject: [PATCH] Lets images be full width --- page.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/page.go b/page.go index 13cf641..6973a7c 100644 --- a/page.go +++ b/page.go @@ -66,11 +66,11 @@ func (p *Page) RenderImage(width int) { // of the Page struct width a string slice // of the wrapped data func (p *Page) WrapContent(width int, color bool) { - width = min(width, 100) if p.FileType == "image" { p.RenderImage(width) return } + width = min(width, 100) counter := 0 spacer := " " var content strings.Builder