improved search highlight and fix search

This commit is contained in:
Oleg Belyaev 2025-03-24 16:23:32 +03:00
parent 3855cf6bf0
commit 10b0f39199
3 changed files with 10 additions and 7 deletions

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<xsl:stylesheet xpath-default-namespace=""
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tei="http://www.tei-c.org/ns/1.0"
xmlns:abv="http://ossetic-studies.org/ns/abaevdict"
@ -24,7 +25,7 @@
</xsl:choose>
</xsl:function>
<xsl:template match="abv:mark">
<xsl:template match="tei:mark">
<mark>
<xsl:apply-templates/>
</mark>