   (let ((meta (company-ycmd--get-meta-or-fallback
                candidate 'detailed_info)))
     (if (stringp meta)
-        (company-ycmd--fontify-code (s-trim meta))
+        (let ((meta-trimmed (s-trim meta)))
+          (if (company-ycmd--extended-features-p)
+              (company-ycmd--fontify-code meta-trimmed)
+            meta-trimmed))
       meta)))
 
 (defun company-ycmd--params (candidate)

        (candidates '()))
    (dolist (candidate completion-list (nreverse candidates))
      (let* ((detailed-info (assoc-default 'detailed_info candidate))
             (function-signatures (and (stringp detailed-info)
                                       (s-split "\n" detailed-info t))))
        (when (or company-ycmd-enable-fuzzy-matching
                  (company-ycmd--prefix-candidate-p candidate prefix))
          (if (and company-ycmd-insert-arguments function-signatures)
              (dolist (meta function-signatures)
                (push (company-ycmd--construct-candidate candidate meta)
                      candidates))

                 (company-ycmd--get-candidates cb prefix))))

(defun company-ycmd--post-completion (arg)
  (when (and (company-ycmd--extended-features-p)
             company-ycmd-insert-arguments)
    (let ((params (company-ycmd--params arg)))
      (when params
        (insert params)
        (company-template-c-like-templatify
         (concat arg params))))))

(defun company-ycmd (command &optional arg &rest ignored)
  "The company-backend command handler for ycmd."
