Make HTML rendering more advanced

Also add Python-like HTML parser thing in lib/htmlparser
This commit is contained in:
Tulir Asokan
2018-04-14 11:44:07 +03:00
parent e7bf5bd59f
commit 782ba0657a
5 changed files with 375 additions and 95 deletions

View File

@ -25,6 +25,10 @@ import (
type TString []Cell
func NewBlankTString() TString {
return make([]Cell, 0)
}
func NewTString(str string) TString {
newStr := make([]Cell, len(str))
for i, char := range str {