1
0
forked from GitHub/gf-core

Work on new download page. Change 18-12 to 4.0.0

This commit is contained in:
John J. Camilleri
2018-11-27 22:36:57 +01:00
parent 8821f8baa8
commit 9bf5c98509
5 changed files with 76 additions and 54 deletions

View File

@@ -52,7 +52,7 @@ function render_t2t_html {
# Final post-processing
if [ -f "$html" ] ; then
sed -i.bak "s/<table>/<table class=\"table\">/" "$html" && rm "$html.bak"
sed -i.bak "s/<table/<table class=\"table\"/" "$html" && rm "$html.bak"
echo "$html"
fi
}
@@ -77,7 +77,7 @@ function render_md_html {
# Final post-processing
if [ -f "$html" ] ; then
sed -i.bak "s/<table>/<table class=\"table\">/" "$html" && rm "$html.bak"
sed -i.bak "s/<table/<table class=\"table\"/" "$html" && rm "$html.bak"
echo "$html"
fi
}