Commit c0c0e6a6 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

remove comments from public instance

parent 31ec545f
......@@ -12,6 +12,7 @@ declare namespace xlink="http://www.w3.org/1999/xlink";
declare namespace tgmd="http://textgrid.info/namespaces/metadata/core/2010";
import module namespace console="http://exist-db.org/xquery/console";
import module namespace config="http://textgrid.de/ns/SADE/config" at "../config/config.xqm";
declare variable $fontaneTransfo:tooltipReplacementPattern := '\s$|,$|\.|\($|\)$|;| ';
declare variable $fontaneTransfo:bracket_left.svg := <svg
......@@ -580,8 +581,10 @@ declare function fontaneTransfo:surfaceDiv($node as node(), $inital as xs:string
},
element xhtml:code {
attribute class {'html'},
serialize($node),
if($node/following-sibling::tei:note) then serialize($node/following-sibling::tei:note) else ()
if( config:get("sade.develop") = "true" )
then serialize($node)
else (serialize($node) => replace("<!--.*?-->", "") => replace("\n+", "&#10;")),
if($node/following-sibling::*[1]/local-name() = "note") then serialize($node/following-sibling::tei:note) else ()
}
}
}
......
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