From 84ccea777fb241015962a789affbf723795f6e39 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 30 Nov 2009 23:31:21 +0000 Subject: [PATCH] Add a couple comments. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32267 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Paragraph.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 1a86aec672..5c6f5dfec1 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -2415,7 +2415,8 @@ docstring Paragraph::simpleLyXHTMLOnePar(Buffer const & buf, bold_flag = false; } } - // FIXME Other such tags? + // FIXME XHTML + // Other such tags? What about the other text ranges? Inset const * inset = getInset(i); if (inset) { @@ -2444,6 +2445,9 @@ docstring Paragraph::simpleLyXHTMLOnePar(Buffer const & buf, } else str += c; + // We don't want to escape the entities. Note that + // it is safe to do this, since str can otherwise + // only be "-". E.g., it can't be "<". xs << XHTMLStream::NextRaw() << str; } else xs << c; -- 2.39.5