diff --git a/index.php b/index.php
index e765407..23138d1 100755
--- a/index.php
+++ b/index.php
@@ -6,7 +6,7 @@
*
* https://codeberg.org/adele.work/ergol-http
*
- * Version 0.4
+ * Version 0.4.1
*
* ## Copyright 2021 Adële
*
@@ -326,13 +326,13 @@ function gmi2html($capsule, $body, $lang, $urlgem, $favicon)
$lev2++;
$lev3=0;
$levid = $lev1.'-'.$lev2;
- $lines[] = '
'.trim(htmlentities(substr($line,2))).'
';
+ $lines[] = ''.trim(htmlentities(substr($line,2))).'
';
$tocs[] = ''.trim(htmlentities(substr($line,2))).'';
break;
case "###":
$lev3++;
$levid = $lev1.'-'.$lev2.'-'.$lev3;
- $lines[] = ''.trim(htmlentities(substr($line,3))).'
';
+ $lines[] = ''.trim(htmlentities(substr($line,3))).'
';
$tocs[] = ''.trim(htmlentities(substr($line,3))).'';
break;
case ">":
diff --git a/style.css b/style.css
index eaeeb61..6639225 100755
--- a/style.css
+++ b/style.css
@@ -1,6 +1,7 @@
body {
margin: 0;
padding: 80px 0;
+ font-family: Serif;
}
div.main {
margin: 0px auto;
@@ -19,6 +20,7 @@ li {
}
p {
margin: 8px 0;
+ font-family: Sans-Serif;
}
blockquote {
background: #ffc;
@@ -33,6 +35,7 @@ div.toc {
border: 1px solid #ccc;
box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, .1);;
background: #fff;
+ font-family: Sans-Serif;
}
@media screen and (max-width: 728px) {
div.toc {