Changeset 27133 in project


Ignore:
Timestamp:
07/28/12 17:23:41 (9 years ago)
Author:
Moritz Heidkamp
Message:

hyde: Fix escaping issue in colorize-code (thanks Peter Bex for the patch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/hyde/trunk/hyde.scm

    r26561 r27133  
    135135(define (colorize-code language code)
    136136  (let* ((class (conc "highlight " language "-language"))
    137          (code (handle-exceptions exn
    138                                   code
    139                                   (map (lambda (s)
    140                                          (html-colorize language s))
    141                                        code))))
     137         (code (map (lambda (s)
     138                      (handle-exceptions exn
     139                        (htmlize s)
     140                        (html-colorize language s)))
     141                    code)))
    142142
    143143    `(pre (@ (class ,class)) (inject . ,code))))
Note: See TracChangeset for help on using the changeset viewer.