summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--assets/style.css4
-rw-r--r--mdparser_custom.go2
2 files changed, 4 insertions, 2 deletions
diff --git a/assets/style.css b/assets/style.css
index cfc4f0e..4bdb9e4 100644
--- a/assets/style.css
+++ b/assets/style.css
@@ -73,7 +73,7 @@ blockquote {
 }
 
 footer {
-  align: center;
+  text-align:  center;
 }
 
 @media (prefers-color-scheme: light) {
@@ -154,7 +154,7 @@ footer {
   }
   
   .conversation-chat {
-    background-color: #3c3836;
+    background-color: inherit;
     border-radius: 5px;
     min-width: 0;
     padding-top: 0.5rem;
diff --git a/mdparser_custom.go b/mdparser_custom.go
index 0d0fef4..47a9722 100644
--- a/mdparser_custom.go
+++ b/mdparser_custom.go
@@ -5,6 +5,7 @@ import (
 	"bytes"
 	"errors"
 	"fmt"
+	"log"
 	"strings"
 
 	"github.com/flosch/pongo2/v6"
@@ -37,6 +38,7 @@ func parseRewriteMarkdown(text []byte) ([]byte, error) {
 		return nil, errors.New("could not parse markdown")
 	}
 	for c := origTree.FirstChild; c != nil; c = c.NextSibling {
+		log.Printf(" Token is %v", c)
 		customNode := findElement(c, creature_tag)
 		if customNode != nil {
 			msg := fmt.Sprint(customNode.FirstChild.Data)