]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.cpp
The logic of the endParagraph() routine is wrong. We should first
[lyx.git] / src / BufferParams.cpp
index 81a13bdb2b1a8b0bfa044abccb0777aa0301732b..5f848a6256ff9f76132d5c7bc4fb666ed4d7727e 100644 (file)
@@ -2172,6 +2172,8 @@ OutputParams::FLAVOR BufferParams::getOutputFlavor(string const format) const
 
        if (dformat == "xhtml")
                result = OutputParams::HTML;
+       else if (dformat == "text")
+               result = OutputParams::TEXT;
        else {
                // Try to determine flavor of default output format
                vector<string> backs = backends();