|
|
|
@ -113,7 +113,7 @@ module.exports = {
|
|
|
|
|
if (noReplaceUI) return s; |
|
|
|
|
|
|
|
|
|
s = s.split('<pre>').join('<div class="ui existing segment"><pre style="margin-top: 0; margin-bottom: 0; ">').split('</pre>').join('</pre></div>') |
|
|
|
|
.split('<table>').join('<table class="ui table">') |
|
|
|
|
.split('<table>').join('<table class="ui celled table">') |
|
|
|
|
.split('<blockquote>').join('<div class="ui message">').split('</blockquote>').join('</div>'); |
|
|
|
|
|
|
|
|
|
let cheerio = require('cheerio'); |
|
|
|
|