UI: HTML source & highlighting

This commit is contained in:
Ralph Slooten
2022-09-09 23:34:35 +12:00
parent d4e520772e
commit fea733a43e
9 changed files with 322 additions and 117 deletions

View File

@@ -1,3 +1,4 @@
// Package data contains the message & mailbox structs
package data
import (
@@ -19,6 +20,7 @@ type Message struct {
Date time.Time
Text string
HTML string
HTMLSource string
Size int
Inline []Attachment
Attachments []Attachment