From a93925830205df5d06544a059be9c9c79e671ea2 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Tue, 23 Apr 2019 12:45:52 +0200
Subject: allow any valid unicode char as xml:id

---
 ekdosis.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'ekdosis.dtx')

diff --git a/ekdosis.dtx b/ekdosis.dtx
index 00862b8..1490d4d 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -826,7 +826,8 @@ function ekdosis.getsiglum(str, opt)
 	 ctrl = string.gsub(ctrl, idsRend[i].xmlid.."%,", "")
       end
    end
-   if string.find(ctrl, "[A-Za-z0-9]")
+   -- if string.find(ctrl, "[A-Za-z0-9]")
+   if string.find(ctrl, "%S")
    then
       return "<??>"
    else
@@ -922,7 +923,6 @@ end
 function ekdosis.textotei(str)
    str = xml_entities(str)
    str = string.gsub(str, "%s?\\par%s?", "</p>\n<p>")
-   str = string.gsub(str, "%s?\\unskip%s?", "")
    str = lem_rdg_totei(str)
    str = textotei(str)
    return str
-- 
cgit v1.2.3

