]> git.plutz.net Git - webtxt/commitdiff
switch to markdown
authorPaul Hänsch <paul@plutz.net>
Fri, 19 Mar 2021 15:17:07 +0000 (16:17 +0100)
committerPaul Hänsch <paul@plutz.net>
Fri, 19 Mar 2021 15:17:07 +0000 (16:17 +0100)
index.cgi
webnote.css

index 8a892d06d115c9950c35b19e0d4861369add914f..3db279a222688073640145c8b1e629427668e9ce 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -108,5 +108,5 @@ yield_page <<-EOF
           [input type=hidden name=session_key value="$SESSION_KEY"]
          [button type=submit name=action value=edit Edit]
        ]
-       [div .text . $(HTML <"$doc")]
+       [div .text . $(markdown <"$doc")]
        EOF
index 7d17f83c596d009f1759b49eaf0280d455d78ff9..c1953c8ac416cc5be386d5e309cf24de8a280ee7 100644 (file)
@@ -13,7 +13,7 @@ textarea {
 
 div.text {
   max-width: 100%;
-  white-space: pre-wrap;
+  overflow: auto;
 }
 
 form.new {