diff --git a/pkg/surveyext/editor_manual.go b/pkg/surveyext/editor_manual.go index 7076c56e..21cf9e2c 100644 --- a/pkg/surveyext/editor_manual.go +++ b/pkg/surveyext/editor_manual.go @@ -20,7 +20,7 @@ func Edit(editorCommand, fn, initialValue string, stdin io.Reader, stdout io.Wri // prepare the temp file pattern := fn if pattern == "" { - pattern = "survey*.txt" + pattern = "survey*.md" } f, err := ioutil.TempFile("", pattern) if err != nil {