diff --git a/src/cryogen_core/markup.clj b/src/cryogen_core/markup.clj
index f3c5ea6..69b671c 100644
--- a/src/cryogen_core/markup.clj
+++ b/src/cryogen_core/markup.clj
@@ -16,8 +16,8 @@
"Injects the blog prefix in front of any local links
ex. becomes "
[blog-prefix text]
- (if-not (s/blank? blog-prefix)
-
+ (if (s/blank? blog-prefix)
+ text
(clojure.string/replace text #"href=.?/|src=.?/" #(str (subs % 0 (dec (count %))) blog-prefix "/"))))
(defn markups