From 316db8f3d6293d83afc0c268e346e66f0ae77679 Mon Sep 17 00:00:00 2001 From: Jonathan McPherson Date: Thu, 19 Oct 2017 11:26:00 -0700 Subject: [PATCH] pass selected output format when rendering notebook (fixes #1631) --- .../source/editors/text/TextEditingTargetRMarkdownHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/TextEditingTargetRMarkdownHelper.java b/src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/TextEditingTargetRMarkdownHelper.java index 91a41dd3bcc..64790ae712f 100644 --- a/src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/TextEditingTargetRMarkdownHelper.java +++ b/src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/TextEditingTargetRMarkdownHelper.java @@ -243,7 +243,7 @@ private void renderNotebookv2WithDialog(final DocUpdateSentinel sourceDoc) @Override public void execute(CompileNotebookv2Options input) { - renderNotebookv2(sourceDoc, null, input.getFormat()); + renderNotebookv2(sourceDoc, input.getFormat(), null); // save options for this document HashMap changedProperties