right now the button's text gets added without the around it. can't figure out why. am i missing sth obvious ?
+2
-1
go.mod
+8
-1
go.sum
+183
-6
appview/pages/markup/markdown.go
+3
-1
appview/pages/funcmap.go
+4
-4
appview/pages/pages.go
History
6 rounds
10 comments
6 commits
expand
collapse
Signed-off-by: Gwenn Le Bihan <gwenn.lebihan7@gmail.com>
Signed-off-by: Gwenn Le Bihan <gwenn.lebihan7@gmail.com>
Signed-off-by: Gwenn Le Bihan <gwenn.lebihan7@gmail.com>
also ensures that every (RunContext).RenderMarkdown callsite gets back a
sanitized value (or very loudly decides not to sanitize by passing e.g.
func(s string) string { return s } as the sanitizer argument)
Signed-off-by: Gwenn Le Bihan <gwenn.lebihan7@gmail.com>
closes #103
Signed-off-by: Gwenn Le Bihan <gwenn.lebihan7@gmail.com>
Signed-off-by: Gwenn Le Bihan <gwenn.lebihan7@gmail.com>
expand 7 comments
(no rush whatsoever, just checking in to see if i can help in any way!)
yeah sorry for the whole-month silence lol, its mostly tailwind shenanigans and i had to work around it and it's quite ugly
there was also the thing with sanitizing user html later, ill try to finish it over the weekend, idk how much conflicted i have become with main lol (long running feature branches = hell)
FYI there is another person working on just the syntax highlighting side of things, see Discord: https://discord.com/channels/1361963801993285692/1392475067962753116.
closing this now, syntax highlighting in md blocks has been added.
6 commits
expand
collapse
Signed-off-by: Gwenn Le Bihan <gwenn.lebihan7@gmail.com>
Signed-off-by: Gwenn Le Bihan <gwenn.lebihan7@gmail.com>
Signed-off-by: Gwenn Le Bihan <gwenn.lebihan7@gmail.com>
also ensures that every (RunContext).RenderMarkdown callsite gets back a
sanitized value (or very loudly decides not to sanitize by passing e.g.
func(s string) string { return s } as the sanitizer argument)
Signed-off-by: Gwenn Le Bihan <gwenn.lebihan7@gmail.com>
closes #103
Signed-off-by: Gwenn Le Bihan <gwenn.lebihan7@gmail.com>
Signed-off-by: Gwenn Le Bihan <gwenn.lebihan7@gmail.com>
6 commits
expand
collapse
also ensures that every (RunContext).RenderMarkdown callsite gets back a
sanitized value (or very loudly decides not to sanitize by passing e.g.
func(s string) string { return s } as the sanitizer argument)
closes #103
expand 0 comments
5 commits
expand
collapse
also ensures that every (RunContext).RenderMarkdown callsite gets back a
sanitized value (or very loudly decides not to sanitize by passing e.g.
func(s string) string { return s } as the sanitizer argument)
closes #103
expand 1 comment
round #2 is just my dumb ass making commit messages conform with the contributing guide
5 commits
expand
collapse
also ensures that every (RunContext).RenderMarkdown callsite gets back a
sanitized value (or very loudly decides not to sanitize by passing e.g.
func(s string) string { return s } as the sanitizer argument)
right now, only the textnode inside the button gets added, without the
<button> around it. can't figure out why. the DataAtom and Type match
what html.Parse gives, per https://go.dev/play/p/eW2o3v2eBbY
expand 0 comments
3 commits
expand
collapse
right now, only the textnode inside the button gets added, without the
<button> around it. can't figure out why. the DataAtom and Type match
what html.Parse gives, per https://go.dev/play/p/eW2o3v2eBbY
is this still being worked on? (i see some wip commits)