Hi Cody!

On Sat, Jun 27, 2009 at 8:47 AM, cody <c...@koeninger.org> wrote:
>
> Maybe unrelated, but
>
> =>(html-resource (java.io.StringReader. "<!-- o noes a comment --
> ><html><head><title>t</title></head><body><h1>h</h1></body></html>"))
>
> ({:type :comment, :data " o noes a comment "})
>
> Not the result I would expect.


Indeed. Fixed.

user=> (html-resource (java.io.StringReader. "<!-- o noes a comment
--><html><head><title>t</title></head><body><h1>h</h1></body></html>"))
({:type :comment, :data " o noes a comment "} {:tag :html, :attrs nil,
:content [{:tag :head, :attrs nil, :content [{:tag :title, :attrs nil,
:content ["t"]}]} {:tag :body, :attrs nil, :content [{:tag :h1, :attrs nil,
:content ["h"]}]}]})

Thanks for the report

Christophe

-- 
Professional: http://cgrand.net/ (fr)
On Clojure: http://clj-me.blogspot.com/ (en)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to