enhance codeblock look

This commit is contained in:
Mystikfluu
2022-08-26 19:38:18 +02:00
parent 0fdfbe1dae
commit f99eca0e47
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -43,7 +43,8 @@ function filterPost(text){
if(cdblregex.test(match)) {
let paddlen = 3
out = out.substring(paddlen,out.length-paddlen).trim()+"\n"
return `<pre><code>${out}</code></pre>`
out = newlineify(out)
return `<code class="ovfl-bw">${out}</code>`
}
out = newlineify(out)