Fix #52. Forward site and set literals to plain.

The issue was caused by side effects of renderx and thus using the wrong
resourceUri to get templateOptions