mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-14 10:27:29 -05:00
Use RenderString instead of markdownify in some places
This commit is contained in:
@ -5,6 +5,6 @@
|
||||
{{ $class = delimit (slice $class .) " " }}
|
||||
{{ end }}
|
||||
|
||||
{{ $htmlTable := .Inner | markdownify }}
|
||||
{{ $htmlTable := .Inner | .Page.RenderString (dict "display" "block") }}
|
||||
{{ $new := printf `<table class="%s">` $class }}
|
||||
{{ (replace $htmlTable "<table>" $new) | safeHTML }}
|
||||
|
Reference in New Issue
Block a user