Loading rxq/html.xqm +3 −3 Original line number Diff line number Diff line Loading @@ -351,16 +351,16 @@ declare %private function max.html:buildMetas($projectId, $xmlFragment){ 'content' : $xmlFragment }) else ( <title>{max.html:cleanValue(string-join(($xmlFragment//(*:h3 | *:h2 | *:h1)[1])//text(), ''))}</title>, <title>{max.html:cleanValue(string-join(($xmlFragment//(*:h3 | *:h2 | *:h1))[1]//text(), ''))}</title>, <meta name="author" content="{max.config:getProjectAuthor($projectId)}"/>, <meta property="dc:description" content="{max.config:getProjectDescription($projectId)}"/>, <meta property="dc:title" content="{max.html:cleanValue(string-join(($xmlFragment//(*:h3 | *:h2 | *:h1)[1])//text(), ''))}"/>, <meta property="dc:title" content="{max.html:cleanValue(string-join(($xmlFragment//(*:h3 | *:h2 | *:h1))[1]//text(), ''))}"/>, <meta property="dc:type" content="Web page"/>, <meta property="dc:relation" content="{request:path()}"/>, <meta property="og:description" content="{max.config:getProjectDescription($projectId)}"/>, <meta property="og:title" content="{max.html:cleanValue(string-join(($xmlFragment//(*:h3 | *:h2 | *:h1)[1])//text(), ''))}"/>, <meta property="og:title" content="{max.html:cleanValue(string-join(($xmlFragment//(*:h3 | *:h2 | *:h1))[1]//text(), ''))}"/>, <meta property="og:type" content="page"/>, <meta property="og:url" content="{request:path()}"/>) Loading Loading
rxq/html.xqm +3 −3 Original line number Diff line number Diff line Loading @@ -351,16 +351,16 @@ declare %private function max.html:buildMetas($projectId, $xmlFragment){ 'content' : $xmlFragment }) else ( <title>{max.html:cleanValue(string-join(($xmlFragment//(*:h3 | *:h2 | *:h1)[1])//text(), ''))}</title>, <title>{max.html:cleanValue(string-join(($xmlFragment//(*:h3 | *:h2 | *:h1))[1]//text(), ''))}</title>, <meta name="author" content="{max.config:getProjectAuthor($projectId)}"/>, <meta property="dc:description" content="{max.config:getProjectDescription($projectId)}"/>, <meta property="dc:title" content="{max.html:cleanValue(string-join(($xmlFragment//(*:h3 | *:h2 | *:h1)[1])//text(), ''))}"/>, <meta property="dc:title" content="{max.html:cleanValue(string-join(($xmlFragment//(*:h3 | *:h2 | *:h1))[1]//text(), ''))}"/>, <meta property="dc:type" content="Web page"/>, <meta property="dc:relation" content="{request:path()}"/>, <meta property="og:description" content="{max.config:getProjectDescription($projectId)}"/>, <meta property="og:title" content="{max.html:cleanValue(string-join(($xmlFragment//(*:h3 | *:h2 | *:h1)[1])//text(), ''))}"/>, <meta property="og:title" content="{max.html:cleanValue(string-join(($xmlFragment//(*:h3 | *:h2 | *:h1))[1]//text(), ''))}"/>, <meta property="og:type" content="page"/>, <meta property="og:url" content="{request:path()}"/>) Loading