mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-02 06:26:16 -04:00
Add table class to parsed Markdown
Fixes https://github.com/PrivateBin/PrivateBin/issues/140
This commit is contained in:
parent
3f2de319f3
commit
f755a99ab8
7 changed files with 10 additions and 7 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue