Commit: 99e161b398eeedfdf93bd373c26f32f5604c5592 Author: Vi Grey Date: 2024-05-03 09:06 UTC Summary: Fix lastLine.linetype to lastLine.lineType CHANGELOG.txt | 6 ++++++ src/html.go | 4 ++-- src/huginn.go | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index bfbaca6..dd3cd7c 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## [0.0.25] - 2024-05-03 + +### Fixed +- lastLine.linetype to lastLine.lineType + + ## [0.0.24] - 2024-05-03 ### Fixed diff --git a/src/html.go b/src/html.go index e47b30c..ba25960 100644 --- a/src/html.go +++ b/src/html.go @@ -195,13 +195,13 @@ func translateGemtextFileToHTML(hf *os.File, p string, textOnly bool) { preformattedToggleOld, textOnly, p))) lastLine = line } - if lastLine.linetype == GEMTEXT_QUOTE { + if lastLine.lineType == GEMTEXT_QUOTE { hf.Write([]byte("\n")) } } func translateGemtextLineToHTML(line, lastLine gemtextLine, preformattedToggle, textOnly bool, p string) (htmlString string) { - if line.lineType != lastLine.lineType && lastLine.linetype == GEMTEXT_QUOTE { + if line.lineType != lastLine.lineType && lastLine.lineType == GEMTEXT_QUOTE { htmlString += "\n" } switch line.lineType { diff --git a/src/huginn.go b/src/huginn.go index 4990543..7440a6e 100644 --- a/src/huginn.go +++ b/src/huginn.go @@ -9,7 +9,7 @@ import ( const ( PROGRAM = "huginn" - VERSION = "0.0.24" + VERSION = "0.0.25" ) func init() {