From 9f8ab3466b9fb51d45fcaae6c970105b93bfba5c Mon Sep 17 00:00:00 2001 From: Thomas Wade Date: Tue, 30 Oct 2018 18:12:10 +1030 Subject: [PATCH] Parse preview markdown with filter --- static/scripts/app.js | 4 ++-- static/views/create.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/scripts/app.js b/static/scripts/app.js index 2572e97..634e7b6 100644 --- a/static/scripts/app.js +++ b/static/scripts/app.js @@ -97,8 +97,8 @@ app.controller("create", ["$scope", "$http", { // Only parse if there is content and if the preview is toggling on return $scope.content && $scope.previewing - ? marked($scope.content) - : ""; + ? $scope.content + : " "; } } } diff --git a/static/views/create.html b/static/views/create.html index 6ca1888..d1a014d 100644 --- a/static/views/create.html +++ b/static/views/create.html @@ -19,7 +19,7 @@
-
+