]> git.pld-linux.org Git - packages/elinks.git/commitdiff
- fix rendering of '*' in gemini auto/th/elinks-0.16.1.1-2
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Fri, 7 Jul 2023 10:57:46 +0000 (12:57 +0200)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Fri, 7 Jul 2023 10:57:46 +0000 (12:57 +0200)
- rel 2

elinks.spec
gemini.patch [new file with mode: 0644]

index 98c59c706babe29e90991882f2c06c1f5cfdbaad..d0102b7ac115afd28d190c2f3c8a6eee5e80af94 100644 (file)
@@ -39,7 +39,7 @@ Summary(pl.UTF-8):    Eksperymentalny Links (tekstowa przeglądarka WWW)
 Summary(pt_BR.UTF-8):  O links é um browser para modo texto, similar ao lynx
 Name:          elinks
 Version:       0.16.1.1
-Release:       1
+Release:       2
 Epoch:         1
 License:       GPL v2
 Group:         Applications/Networking
@@ -47,6 +47,7 @@ Source0:      https://github.com/rkd77/elinks/releases/download/v%{version}/%{name}-%
 # Source0-md5: 09ba9bf3f222da893a830f6e27a6cc3d
 Source1:       %{name}.desktop
 Source2:       links.png
+Patch0:                gemini.patch
 URL:           http://www.elinks.cz/
 BuildRequires: bzip2-devel
 BuildRequires: expat-devel
@@ -113,6 +114,7 @@ keepalive.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %meson build \
diff --git a/gemini.patch b/gemini.patch
new file mode 100644 (file)
index 0000000..eb0f376
--- /dev/null
@@ -0,0 +1,19 @@
+commit 3ff58b17e4272c18139db62af298ea3cc2450b7a
+Author: Witold Filipczyk <witekfl@poczta.onet.pl>
+Date:   Tue Jun 27 16:06:58 2023 +0200
+
+    [gemini] Missing LIs. Refs #242
+
+diff --git a/src/document/gemini/renderer.c b/src/document/gemini/renderer.c
+index 7fbaf5a1..2702c235 100644
+--- a/src/document/gemini/renderer.c
++++ b/src/document/gemini/renderer.c
+@@ -180,6 +180,8 @@ render_gemini_document(struct cache_entry *cached, struct document *document,
+                                                       in_list = 1;
+                                                       add_to_string(&html, "<ul>\n");
+                                                       add_string_to_string(&html, &html_line);
++                                              } else {
++                                                      add_string_to_string(&html, &html_line);
+                                               }
+                                       } else if (in_list) {
+                                               in_list = 0;
This page took 0.167639 seconds and 4 git commands to generate.