about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 9085649..80f0f83 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -377,7 +377,10 @@ fn write_readme_content(file: &mut File, in_path: &Path, raw_path: &Path)
     // cheap markdown 2 html converter
     for line in readme.split('\n') {
 
-        if line.starts_with("###") {
+        if line.starts_with("---") {
+            file.write_all(format!(r##"
+            <hr>"##).as_bytes())?;
+        } else if line.starts_with("###") {
             let heading = line.get(4..).unwrap();
             let heading_sanitized = sanitize(heading.to_string());