Small change in render_to_string method in order to dont block render_to_string in plugins.