Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
a08cf194
Commit
a08cf194
authored
Oct 24, 2018
by
MRodz
Committed by
mrodzis
Feb 05, 2019
Browse files
Fix text bugs
parent
6592ef1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/fontane/teisimpleprint/teisimplehelpers.xqm
View file @
a08cf194
...
...
@@ -86,7 +86,7 @@ declare function simpleHelpers:prepare-text($node as text()) as text()? {
else if(ends-with($node, "⸗") and not(simpleHelpers:keep-hyphen($node))) then
text {functx:substring-before-last($node, "⸗") || "@"}
else
$node
replace($node, "⸗", "-")
let $cleared-round-s := replace($cleared-hyphen, "ſ", "s")
let $cleared-Tironian := replace($cleared-round-s, "⁊c.", "etc.")
(: let $normalized := normalize-space($cleared-round-s):)
...
...
@@ -108,6 +108,8 @@ declare function simpleHelpers:prepare-text($node as text()) as text()? {
text {replace($cleared-Tironian, "@", "")}
else
()
else if(normalize-space($node) = "" and matches($node, " ")) then
text{" "}
else
()
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment