Created
July 18, 2012 01:56
-
-
Save joekarma/3133596 to your computer and use it in GitHub Desktop.
I couldn't find a convenient way to have the HTML monkeylib-html emits output directly to a string, so fashioned a patch of sorts for sbclrc. This was probably a mistake. Oh well!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; Monkey patch for the monkey lib | |
(defun monkeylib-html::emit-html-to-string (html) | |
(with-output-to-string (s) | |
(let ((monkeylib-text-output:*text-output* s)) | |
(monkeylib-html:emit-html html)))) | |
(export 'monkeylib-html::emit-html-to-string | |
(find-package :monkeylib-html)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment