commit 6aaf118bc786f45ebb2ada87a1d75c163aab0e65
Author: Thibaut Cuvelier <tcuvel...@lyx.org>
Date:   Mon Jul 20 02:15:35 2020 +0200

    Stop adding points at the end of xml:id without reason
---
 src/xml.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/xml.cpp b/src/xml.cpp
index 7733bf0..7cf738a 100644
--- a/src/xml.cpp
+++ b/src/xml.cpp
@@ -611,8 +611,7 @@ docstring xml::cleanID(docstring const &orig)
        if (mangle) {
                int & mangleID = tMangleID.localData();
                content += "-" + convert<docstring>(mangleID++);
-       } else if (isDigitASCII(content[content.size() - 1]))
-               content += ".";
+       }
 
        mangledNames[orig] = content;
 
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to