Commit 4b2b6da1 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

prerender code with code-viewer

parent d89a1557
......@@ -10,6 +10,7 @@ xquery version "3.1";
:)
module namespace f-indexproc="http://fontane-nb.dariah.eu/indexproc";
import module namespace f-misc="http://fontane-nb.dariah.eu/ns/SADE/misc" at "misc.xqm";
import module namespace code="http://bdn-edition.de/ns/code-view";
declare namespace gndo="http://d-nb.info/standards/elementset/gnd#";
declare namespace ore="http://www.openarchives.org/ore/terms/";
......@@ -383,12 +384,8 @@ element xhtml:li {
attribute class {"registerCode"},
<xhtml:i title="Zeige XML" class="fa fa-code"></xhtml:i>
},
element xhtml:pre {
element xhtml:code {
attribute class {"html"},
serialize($node) => replace("[ ]{2,}", " ")
}
}
code:main($node)
}
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment