From fb2f3a418bb89ec13d8d5a97ed61de56057ea585 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 31 Oct 2020 08:50:49 +0200 Subject: [PATCH] Make bs-table responsive --- site/layouts/shortcodes/bs-table.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/layouts/shortcodes/bs-table.html b/site/layouts/shortcodes/bs-table.html index 40b9b8ce5..ac2c5a53b 100644 --- a/site/layouts/shortcodes/bs-table.html +++ b/site/layouts/shortcodes/bs-table.html @@ -5,5 +5,6 @@ {{- $css_class := .Get 0 | default "table" -}} {{- $html_table := .Inner | markdownify -}} -{{- $html_table = replace $html_table "" (printf `
` $css_class) -}} +{{- $html_table = replace $html_table "
" (printf `
` $css_class) -}} +{{- $html_table = replace $html_table "
" "" -}} {{- $html_table | safeHTML -}}