fix should_open not being respecte in :Pandoc