Skip to content

Commit f57525d

Browse files
committed
Correct the name of the emphasis element from tei:em to tei:emph as identified by @mMoliere during in code review
1 parent 408d10e commit f57525d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/xar-resources/services/get-rec.xql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ declare function local:markdown($nodes as node()*) as item()* {
6868
return
6969
"
"
7070

71-
case element(tei:em)
71+
case element(tei:emph)
7272
return
7373
(
7474
"*",

src/main/xar-resources/services/submit.xql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ declare function local:markdown($s) {
377377
for $node in fn:analyze-string($s, "\*(.*?)\*")/child::*
378378
return
379379
typeswitch($node)
380-
case element(fn:match) return <tei:em>{$node/fn:group/node()}</tei:em>
380+
case element(fn:match) return <tei:emph>{$node/fn:group/node()}</tei:emph>
381381
default return $node/node()
382382
};
383383

0 commit comments

Comments
 (0)