aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-30 14:41:19 +0200
committerLukas Reschke <lukas@statuscode.ch>2017-01-13 18:33:42 +0100
commit1e453576dd5cc22596f8daea060daf353513c261 (patch)
tree11182fcf469356f29bfd15b3d405ce530f37a5fe /settings/js
parente7a2151c4d39921933c7f52dc1345a70ac8ff6e0 (diff)
downloadnextcloud-server-1e453576dd5cc22596f8daea060daf353513c261.tar.gz
nextcloud-server-1e453576dd5cc22596f8daea060daf353513c261.zip
Render markdown
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/apps.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 61d817e43e4..15d3547b707 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -186,6 +186,9 @@ OC.Settings.Apps = OC.Settings.Apps || {
app.author = app.author['@value'];
}
+ // Parse markdown in app description
+ app.description = marked(app.description.trim());
+
var html = template(app);
if (selector) {
selector.html(html);