Commit Graph

4 Commits (e9f4c2db8291c54044345aebd9381ac820ed9687)

Author SHA1 Message Date
wxiaoguang 5db4c8db93
Refactor backend SVG package and add tests ()
Introduce a well-tested `svg.Normalize` function.
Make `RenderHTML` faster and more stable.
silverwind 88f835192d
Replace `interface{}` with `any` ()
Result of running `perl -p -i -e 's#interface\{\}#any#g' **/*` and `make fmt`.

Basically the same [as golang did](2580d0e08d).
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files ()
Change all license headers to comply with REUSE specification.

Fix 

Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Lunny Xiao 2ebab42934
Move svg html render to modules/svg ()
Also added more checks for the render function.

Co-authored-by: silverwind <me@silverwind.io>