From 5c421e86182a4690067c46f8c2349d6522babc6b Mon Sep 17 00:00:00 2001 From: makeworld Date: Sat, 27 Jun 2020 11:22:45 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AC=20Switch=20to=20proper=20unicode?= =?UTF-8?q?=20bullet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ renderer/renderer.go | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 035fd06..67febef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ 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/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] +## Changed +- Actual unicode bullet symbol is used for lists, U+2022 + ## [1.1.0] - 2020-06-24 ### Added - **Bookmarks** (#10) diff --git a/renderer/renderer.go b/renderer/renderer.go index c621d62..4a2c55d 100644 --- a/renderer/renderer.go +++ b/renderer/renderer.go @@ -103,7 +103,7 @@ func convertRegularGemini(s string, numLinks int, width int) (string, []string) // Lists } else if strings.HasPrefix(lines[i], "* ") { if viper.GetBool("a-general.bullets") { - lines[i] = " 🞄" + lines[i][1:] + lines[i] = " \u2022" + lines[i][1:] } // Optionally list lines could be colored here too, if color is enabled }