yihui/knitr — pull request #680 by yixuan (2013-12-07 02:11:41+00:00)
Title: make r2swf hook work properly

`swf2html()` will only produce `src='somefile.swf'`, thus not knowing the directory that the file is in. We can do some hacks here to tell `src` the directory location.