dreverri / gollum-site

Static Site Generator for Gollum Wikis
254 stars 28 forks source link

xml syntax highlighting breaks liquid processing #15

Closed stoicflame closed 13 years ago

stoicflame commented 13 years ago

If you attempt syntax highlighting for xml, e.g.:

<some example="xml/>

Then processing fails:

Liquid error: Requires a Node, NodeSet or String argument, and cannot accept a NilClass. (You probably want to select a node from the Document with at() or search(), or create a new Node via Node.new().)

tothda commented 13 years ago

Try installing pygments.

stoicflame commented 13 years ago

Try installing pygments.

Thanks for the tip!

Zapotek commented 12 years ago

I'm getting the same error on Heroku, is it possible to disable syntax highlighting in order to avoid this error?