Commit: c611fc3d109922f4efbae74382d547d8eb43d4f3 Author: Vi Grey Date: 2023-11-03 07:35 UTC Summary: remove textOnly in html.go CHANGELOG.md | 7 +++++++ src/html.go | 8 ++------ src/rodor-logbook.go | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01e0657..ee7a73c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +## [0.0.6] - 2022-11-03 + +### Removed + +- textOnly in html.go + + ## [0.0.6] - 2022-11-03 ### Removed diff --git a/src/html.go b/src/html.go index 7a785f8..14b7fa4 100644 --- a/src/html.go +++ b/src/html.go @@ -100,12 +100,8 @@ func translateGemtextLineToHTML(line, lastLine gemtextLine, preformattedToggle b htmlString += "" linkText := line.text if len(schemeText) > 0 { - if textOnly { - htmlString += schemeText + " " - } else { - htmlString += fmt.Sprintf("%s ", - schemeText) - } + htmlString += fmt.Sprintf("%s ", + schemeText) } htmlString += fmt.Sprintf("%s%s\n", escapeHTMLQuotes(escapeHTMLContent(line.path)), diff --git a/src/rodor-logbook.go b/src/rodor-logbook.go index 194e7de..ee2ce42 100644 --- a/src/rodor-logbook.go +++ b/src/rodor-logbook.go @@ -8,7 +8,7 @@ import ( const ( PROGRAM = "rodor-logbook" - VERSION = "0.0.6" + VERSION = "0.0.7" ) func main() {