aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-04-01 06:22:43 +0000
committerFuwn <[email protected]>2022-04-01 06:22:43 +0000
commitb85a5abfe10755af346cc9debd36234aa13a3619 (patch)
tree5ba7df4409bc28e79a50375f811763f7c6846a15 /src
parentfeat: 0.0.0 :star: (diff)
downloadseptember-b85a5abfe10755af346cc9debd36234aa13a3619.tar.xz
september-b85a5abfe10755af346cc9debd36234aa13a3619.zip
fix(heading): properly parse triple header
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 4f71529..de8cbe0 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -110,7 +110,7 @@ fn gemini_to_html(response: &Response, url: &Url) -> (String, String) {
response_string.push_str("</ul>\n");
}
- match line.get(0..2) {
+ match line.get(0..3) {
Some(heading) =>
match heading {
"###" => {