diff --git a/markdown-preview-mode.el b/markdown-preview-mode.el
index 8b936e1..743d78c 100644
--- a/markdown-preview-mode.el
+++ b/markdown-preview-mode.el
@@ -116,14 +116,16 @@
(when (timerp markdown-preview--idle-timer)
(cancel-timer markdown-preview--idle-timer)))
-(defun markdown-preview--css-links ()
+(defun markdown-preview--css ()
"Get list of styles for preview in backward compatible way."
(let* ((custom-style (list markdown-preview-style))
(all-styles
(mapc (lambda (x) (add-to-list 'custom-style x t)) markdown-preview-stylesheets)))
(mapconcat
(lambda (x)
- (concat ""))
+ (if (string-match-p "^[\n\t ]*