diff --git a/js/privatebin.js b/js/privatebin.js index 8bfd7f75..c6da759f 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -655,9 +655,12 @@ $(function() { this.clearText.html( converter.makeHtml(text) ); + // add table class from bootstrap css + this.clearText.find('table').addClass('table'); + this.clearText.removeClass('hidden'); + this.prettyMessage.addClass('hidden'); } - this.prettyMessage.addClass('hidden'); break; case 'syntaxhighlighting': if (typeof prettyPrintOne === 'function') diff --git a/tpl/bootstrap-compact.php b/tpl/bootstrap-compact.php index fa937b59..4fb0e82f 100644 --- a/tpl/bootstrap-compact.php +++ b/tpl/bootstrap-compact.php @@ -52,7 +52,7 @@ if ($MARKDOWN): - + diff --git a/tpl/bootstrap-dark-page.php b/tpl/bootstrap-dark-page.php index b1b92f85..7a222518 100644 --- a/tpl/bootstrap-dark-page.php +++ b/tpl/bootstrap-dark-page.php @@ -52,7 +52,7 @@ if ($MARKDOWN): - + diff --git a/tpl/bootstrap-dark.php b/tpl/bootstrap-dark.php index 1801fbd0..d031c5d5 100644 --- a/tpl/bootstrap-dark.php +++ b/tpl/bootstrap-dark.php @@ -52,7 +52,7 @@ if ($MARKDOWN): - + diff --git a/tpl/bootstrap-page.php b/tpl/bootstrap-page.php index 591cf68a..5209d868 100644 --- a/tpl/bootstrap-page.php +++ b/tpl/bootstrap-page.php @@ -52,7 +52,7 @@ if ($MARKDOWN): - + diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index feffff8c..2a1fd92d 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -52,7 +52,7 @@ if ($MARKDOWN): - + diff --git a/tpl/page.php b/tpl/page.php index fabd17c8..cc4c07c8 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -47,7 +47,7 @@ if ($MARKDOWN): - +