Commit: 3fa3f2fb5fa3125b52c686d245d9e78394698804 Parent: c611fc3d109922f4efbae74382d547d8eb43d4f3 Author: Vi Grey Date: 2023-11-03 10:45 UTC Summary: tabindex="0" in pre tags for accessibility CHANGELOG.md | 7 +++++++ src/html.go | 4 ++-- src/rodor-logbook.go | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee7a73c..19217a3 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.7] - 2022-11-03 + +### Added + +- tabindex="0" in pre tags for accessibility + + ## [0.0.6] - 2022-11-03 ### Removed diff --git a/src/html.go b/src/html.go index 14b7fa4..72d7221 100644 --- a/src/html.go +++ b/src/html.go @@ -52,8 +52,8 @@ func translateGemtextLineToHTML(line, lastLine gemtextLine, preformattedToggle b case GEMTEXT_PREFORMATTED_TOGGLE: if !preformattedToggle { escapedAltText := escapeHTMLQuotes(escapeHTMLContent(line.altText)) - htmlString += fmt.Sprintf("
",
-				escapedAltText, escapedAltText)
+			htmlString += fmt.Sprintf("
",
+				escapedAltText)
 		} else {
 			htmlString += "
\n" } diff --git a/src/rodor-logbook.go b/src/rodor-logbook.go index ee2ce42..261f94f 100644 --- a/src/rodor-logbook.go +++ b/src/rodor-logbook.go @@ -8,7 +8,7 @@ import ( const ( PROGRAM = "rodor-logbook" - VERSION = "0.0.7" + VERSION = "0.0.8" ) func main() {