From 637ea8c084408d7999fac61b5edca3b6397af57e Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Sun, 11 Jan 2015 15:42:44 +0000 Subject: [PATCH] Bother! forgot to add the nascent diff2html file. Added. --- src/smeagol/diff2html.clj | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/smeagol/diff2html.clj diff --git a/src/smeagol/diff2html.clj b/src/smeagol/diff2html.clj new file mode 100644 index 0000000..f84d38e --- /dev/null +++ b/src/smeagol/diff2html.clj @@ -0,0 +1,8 @@ +(ns smeagol.diff2html) + +(defn diff2html + "Convert this string, assumed to be in diff format, to HTML." + [^String diff-text] + ;; TODO doesn't work yet + (str "
" diff-text "
")) + \ No newline at end of file