[LyX/master] Let's use "xhtml" as in the sources
Juergen Spitzmueller <[email protected]>
| Newsgroups | gmane.editors.lyx.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit c187cb7a1eb41ce72947c1e88fe4d71b7efafbcf Author: Juergen Spitzmueller <[email protected]> Date: Fri Aug 14 09:03:49 2026 +0200 Let's use "xhtml" as in the sources --- src/BufferView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BufferView.cpp b/src/BufferView.cpp index ed1ace664d..30fd367a53 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -1423,7 +1423,7 @@ bool BufferView::getStatus(FuncRequest const & cmd, FuncStatus & flag) case LFUN_COPY: { string const arg = cmd.getArg(0); if (!arg.empty() && arg != "latex" && arg != "plain" - && arg != "html" && arg != "docbook") { + && arg != "xhtml" && arg != "docbook") { flag.setEnabled(false); break; } @@ -2689,7 +2689,7 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr) int option = AS_STR_NONE; if (type == "latex") option = AS_STR_LATEX; - else if (type == "html") + else if (type == "xhtml") option = AS_STR_XHTML; else if (type == "docbook") option = AS_STR_DOCBOOK; -- lyx-cvs mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-cvs