Hi,
Making slide exports self-contained introduced two bugs in gitit. Both
bugs seem to be related to the function fixURLs.
First, images defined by a complete URL (including protocol, host, and
path) get treated like images stored in the repo (line 298 of
Export.hs). This causes an error when pandoc tries to generate
self-contained slides.
I was able to reproduce the bug here:
http://gitit.net/exports?export&format=Slidy
Second, script and link tags do not pass through fixURL, (line 285),
thus a document containing those tags is inevitably broken by
makeSelfContained. I could not reproduce this one on
gitit.net because
it sanitizes the HTML code, but on a local installation I have this
error:
Server error: /usr/local/share/pandoc-1.11//js/jquery.min.js:
openBinaryFile: does not exist (No such file or directory)
Finally, I had one more problem migrating to 10.0: slide exports used
to have syntax highlighting, but they don't anymore. See
http://gitit.net/slides%20highlighting
Cheers,
Luca