aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/render.js4
-rw-r--r--static/styles.css2
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/render.js b/lib/render.js
index ef77f35..9c37d9c 100644
--- a/lib/render.js
+++ b/lib/render.js
@@ -80,6 +80,7 @@ Render.prototype.emoji = function (emoji) {
}) : name
}
+/* disabled until it can be done safely without breaking html
function fixSymbols(str) {
// Dillo doesn't do fallback fonts, so specifically render fancy characters
// with Symbola
@@ -87,6 +88,7 @@ function fixSymbols(str) {
return '<span class="symbol">' + $0 + '</span>'
})
}
+*/
Render.prototype.markdown = function (text, mentions) {
if (!text) return ''
@@ -100,7 +102,7 @@ Render.prototype.markdown = function (text, mentions) {
})
var out = marked(String(text), this.markedOpts)
delete this._mentions
- return fixSymbols(out)
+ return out //fixSymbols(out)
}
Render.prototype.imageUrl = function (ref) {
diff --git a/static/styles.css b/static/styles.css
index fd23b82..481bced 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -8,9 +8,11 @@ section {
padding: 1ex;
}
+/*
.symbol {
font-family: Symbola;
}
+*/
.ssb-post img {
max-width: 100%;