~rbdr/page

fb0da1eec8c545c3010bc3e838a402ce6ebd31d5 — Ruben Beltran del Rio 4 months ago 394fd62
Don't close br
3 files changed, 3 insertions(+), 3 deletions(-)

M Cargo.lock
M Cargo.toml
M src/gemini_parser.rs
M Cargo.lock => Cargo.lock +1 -1
@@ 4,4 4,4 @@ version = 3

[[package]]
name = "page"
version = "1.3.0"
version = "1.3.1"

M Cargo.toml => Cargo.toml +1 -1
@@ 1,6 1,6 @@
[package]
name = "page"
version = "1.3.0"
version = "1.3.1"
edition = "2021"

[dependencies]

M src/gemini_parser.rs => src/gemini_parser.rs +1 -1
@@ 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:") {