diff options
author | Grail Finder <wohilas@gmail.com> | 2025-09-12 18:59:51 +0300 |
---|---|---|
committer | Grail Finder <wohilas@gmail.com> | 2025-09-12 18:59:51 +0300 |
commit | 448cb97074bb471bc2c9e0848ecbd005e994c3a6 (patch) | |
tree | 36db923c47a58156a60632ef588e191de50c67b8 /tui.go | |
parent | ff24ad4af7c3b88227b9387a5a660e83e82aef76 (diff) |
Diffstat (limited to 'tui.go')
-rw-r--r-- | tui.go | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -163,6 +163,14 @@ func strInSlice(s string, sl []string) bool { func colorText() { text := textView.GetText(false) + quoteReplacer := strings.NewReplacer( + `”`, `"`, + `“`, `"`, + `“`, `"`, + `”`, `"`, + `**`, `*`, + ) + text = quoteReplacer.Replace(text) // Step 1: Extract code blocks and replace them with unique placeholders var codeBlocks []string placeholder := "__CODE_BLOCK_%d__" |