From 98b99ae29cf39f1a30c6431cf853acdc012d9ab0 Mon Sep 17 00:00:00 2001 From: Christian Mueller Date: Wed, 13 Jun 2012 23:22:57 +0200 Subject: [PATCH] temporarily deleting the html escaping (b/c of problems with blockquoting in MD) --- src/NoteHub/views/pages.clj | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/NoteHub/views/pages.clj b/src/NoteHub/views/pages.clj index 4b48c00..3a205d2 100644 --- a/src/NoteHub/views/pages.clj +++ b/src/NoteHub/views/pages.clj @@ -137,8 +137,6 @@ ; if not, append "-n", where "n" is the next free number (let [[year month day] (map #(+ (second %) (.get (Calendar/getInstance) (first %))) {Calendar/YEAR 0, Calendar/MONTH 1, Calendar/DAY_OF_MONTH 0}) - ; This is the _only_ point where user's content enters the web app, so we escape the content. - draft (escape-html draft) untrimmed-line (filter #(or (= \- %) (Character/isLetterOrDigit %)) (-> draft ccs/split-lines first (sreplace " " "-") lower-case)) trim (fn [s] (apply str (drop-while #(= \- %) s)))