|
1 | 1 | <ui:composition xmlns="http://www.w3.org/1999/xhtml" |
2 | | - xmlns:h="http://java.sun.com/jsf/html" |
3 | | - xmlns:f="http://java.sun.com/jsf/core" |
4 | | - xmlns:ui="http://java.sun.com/jsf/facelets" |
5 | | - xmlns:c="http://java.sun.com/jsp/jstl/core" |
6 | | - xmlns:p="http://primefaces.org/ui" |
7 | | - xmlns:o="http://omnifaces.org/ui" |
8 | | - xmlns:of="http://omnifaces.org/functions" |
9 | | - xmlns:jsf="http://xmlns.jcp.org/jsf"> |
| 2 | + xmlns:h="http://java.sun.com/jsf/html" |
| 3 | + xmlns:f="http://java.sun.com/jsf/core" |
| 4 | + xmlns:ui="http://java.sun.com/jsf/facelets" |
| 5 | + xmlns:c="http://java.sun.com/jsp/jstl/core" |
| 6 | + xmlns:p="http://primefaces.org/ui" |
| 7 | + xmlns:o="http://omnifaces.org/ui" |
| 8 | + xmlns:of="http://omnifaces.org/functions" |
| 9 | + xmlns:jsf="http://xmlns.jcp.org/jsf" |
| 10 | + xmlns:Strings="http://omnifaces.org/functions"> |
10 | 11 |
|
11 | 12 | <c:set var="page" value="/dataverse/#{DataversePage.dataverse.alias}"/> |
12 | 13 | <c:set var="cvocConf" value="#{settingsWrapper.getCVocConf(true)}"/> |
|
539 | 540 |
|
540 | 541 | <hr style="margin:.5em;border:0;"/> |
541 | 542 |
|
542 | | - <h:outputText value="#{Strings:abbreviate(result.descriptionNoSnippet, descriptionAbbreviationThreshold)}" rendered="#{result.descriptionSnippets.size() eq 0}"/> |
| 543 | + <h:outputText value="#{Strings:abbreviate(MarkupChecker:stripAllTags(result.descriptionNoSnippet), descriptionAbbreviationThreshold)}" escape="false" rendered="#{result.descriptionSnippets.size() eq 0}"/> |
543 | 544 |
|
544 | 545 | <ui:repeat value="#{result.descriptionSnippets}" var="snippet" varStatus="varStatus" |
545 | 546 | rendered="#{result.descriptionSnippets.size() gt 0}"> |
|
607 | 608 | <h:outputText value="#{result.citationHtml != null ? result.citationHtml : result.citation}" escape="false"/> |
608 | 609 | </div> |
609 | 610 |
|
610 | | - <h:outputText value="#{Strings:abbreviate(result.descriptionNoSnippet, descriptionAbbreviationThreshold)}" rendered="#{result.descriptionSnippets.size() eq 0}"/> |
| 611 | + <h:outputText value="#{Strings:abbreviate(MarkupChecker:stripAllTags(result.descriptionNoSnippet), descriptionAbbreviationThreshold)}" escape="false" rendered="#{result.descriptionSnippets.size() eq 0}"/> |
611 | 612 |
|
612 | 613 | <ui:repeat value="#{result.descriptionSnippets}" var="snippet" varStatus="varStatus" |
613 | 614 | rendered="#{result.descriptionSnippets.size() gt 0}"> |
|
721 | 722 | </ui:repeat> |
722 | 723 | </div> |
723 | 724 |
|
724 | | - <h:outputText value="#{Strings:abbreviate(result.descriptionNoSnippet, descriptionAbbreviationThreshold)}" rendered="#{result.descriptionSnippets.size() eq 0}"/> |
| 725 | + <h:outputText value="#{Strings:abbreviate(MarkupChecker:stripAllTags(result.descriptionNoSnippet), descriptionAbbreviationThreshold)}" escape="false" rendered="#{result.descriptionSnippets.size() eq 0}"/> |
725 | 726 |
|
726 | 727 | <ui:repeat value="#{result.descriptionSnippets}" var="snippet" varStatus="varStatus" |
727 | 728 | rendered="#{result.descriptionSnippets.size() gt 0}"> |
|
0 commit comments