noamross / redoc

[NOTE: Project in suspended animation for now] Reversible Reproducible Documents
https://noamross.github.io/redoc
Other
514 stars 44 forks source link

Fix error in "Render and update" addin #65

Open petrbouchal opened 4 years ago

petrbouchal commented 4 years ago

The error occurs because dedoc() does not take the parameter passed by dedoc_to_active_file(), which thus passes it to word_document().

My understanding is that this is a remnant of a pre-refactor form of dedoc() as dedoc() currently does not use this parameter and handles the roundtrip process internally; I tested it without the parameter and it seems to work but will require review to make sure I didn't miss anything.

Fixes #57

statsccpr commented 4 years ago

First time tester, this was the immediate error I ran into with redoc_0.1.0.9000

This error came up via the addin as well as the console with roundtrip() like https://github.com/noamross/redoc/issues/57