diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-01-19 20:55:13 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-01-19 20:55:52 +0200 |
commit | bc7d3e49b5d9dfc82c4c2e78ac00b3e568975183 (patch) | |
tree | 47651f13d081da8273d46e4659bb13be46183913 | |
parent | 64a8403832c69a7ce754f707c41b78a3df17b2f3 (diff) |
Feeds: Don't trim quotes from titles
-rw-r--r-- | res/about/version.gmi | 1 | ||||
-rw-r--r-- | src/feeds.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/res/about/version.gmi b/res/about/version.gmi index c5346b1f..06517dfd 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi | |||
@@ -18,6 +18,7 @@ | |||
18 | * Trusting a new server certificate manually will update the current page without reloading. | 18 | * Trusting a new server certificate manually will update the current page without reloading. |
19 | * Middle-clicking on a tab title closes the tab. | 19 | * Middle-clicking on a tab title closes the tab. |
20 | * Fixed timestamps of visited URLs. Your browsing history will be erased but can still be found in "visited.txt". | 20 | * Fixed timestamps of visited URLs. Your browsing history will be erased but can still be found in "visited.txt". |
21 | * Fixed issue where "heading" feed entries would turn unread after a while. | ||
21 | 22 | ||
22 | ## 1.0.3 | 23 | ## 1.0.3 |
23 | * Improved font glyph caching: only rasterize glyphs when drawing text, and retry after failure. This makes initial document layout faster and avoids issues with permanently lost glyphs. | 24 | * Improved font glyph caching: only rasterize glyphs when drawing text, and retry after failure. This makes initial document layout faster and avoids issues with permanently lost glyphs. |
diff --git a/src/feeds.c b/src/feeds.c index a40df571..c54ac945 100644 --- a/src/feeds.c +++ b/src/feeds.c | |||
@@ -160,6 +160,9 @@ static iFeedJob *startNextJob_Feeds_(iFeeds *d) { | |||
160 | } | 160 | } |
161 | 161 | ||
162 | static iBool isTrimmablePunctuation_(iChar c) { | 162 | static iBool isTrimmablePunctuation_(iChar c) { |
163 | if (c == '"') { | ||
164 | return iFalse; /* Probably quoted text. */ | ||
165 | } | ||
163 | if (c == '(' || c == '[' || c == '{' || c == '<') { | 166 | if (c == '(' || c == '[' || c == '{' || c == '<') { |
164 | return iFalse; | 167 | return iFalse; |
165 | } | 168 | } |