]> git.r.bdr.sh - rbdr/page/commitdiff
Don't close br
authorRuben Beltran del Rio <redacted>
Sun, 4 Feb 2024 22:51:02 +0000 (23:51 +0100)
committerRuben Beltran del Rio <redacted>
Sun, 4 Feb 2024 22:51:02 +0000 (23:51 +0100)
Cargo.lock
Cargo.toml
src/gemini_parser.rs

index 83a98a73aae851ebc0e7bb780418c135cc8de35d..f8ef2e28a535ebdabde76b5a5b6e7adfe9677427 100644 (file)
@@ -4,4 +4,4 @@ version = 3
 
 [[package]]
 name = "page"
-version = "1.3.0"
+version = "1.3.1"
index c148552f612d73e2c21ead86a3c74d29ad123146..5879a10b94a9ae5de225d61a96a74d79901112c5 100644 (file)
@@ -1,6 +1,6 @@
 [package]
 name = "page"
-version = "1.3.0"
+version = "1.3.1"
 edition = "2021"
 
 [dependencies]
index af1a5e0ec37e672c67b53f4855b3917a3b66b86f..a7c752e7bf1d6a7e3b1c8c32c269c5acbaebb5e9 100644 (file)
@@ -85,7 +85,7 @@ fn get_full_line_content(line_type: &LineType, line: &str) -> String {
     let encoded_line = line.replace("<", "&lt;").replace(">", "&gt;");
      match line_type {
         LineType::Text => format!("<p>{}</p>\n", encoded_line.trim()),
-        LineType::Blank => "<br/>\n".to_string(),
+        LineType::Blank => "<br>\n".to_string(),
         LineType::Link => {
             let url = get_link_address(line);
             if url.starts_with("gemini:") {