Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornitind2005-04-13 06:23:50 +0000
committernitind2005-04-13 06:23:50 +0000
commitd791c96a713b61adf556ffe1684faa63a9d674b2 (patch)
treee2aad0223ca86e19ab55870a0eec0acd381eacb9
parent584433ca9133abfdbd73a8fa35308bd6afc8e2f4 (diff)
downloadwebtools.sourceediting-d791c96a713b61adf556ffe1684faa63a9d674b2.tar.gz
webtools.sourceediting-d791c96a713b61adf556ffe1684faa63a9d674b2.tar.xz
webtools.sourceediting-d791c96a713b61adf556ffe1684faa63a9d674b2.zip
[88336] - Hover for jsp tag shows HTML tags from jsp tag description as plain text.
-rw-r--r--bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/tld/CMElementDeclarationImpl.java12
1 files changed, 9 insertions, 3 deletions
diff --git a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/tld/CMElementDeclarationImpl.java b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/tld/CMElementDeclarationImpl.java
index b6154a0c12..c383d88994 100644
--- a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/tld/CMElementDeclarationImpl.java
+++ b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/contentmodel/tld/CMElementDeclarationImpl.java
@@ -270,10 +270,14 @@ public class CMElementDeclarationImpl implements TLDElementDeclaration {
*/
public Object getProperty(String propertyName) {
if (propertyName != null && propertyName.equals("tagInfo")) { //$NON-NLS-1$
- return StringUtils.restoreMarkers(getTagInfo()); // return tag info
+ return getTagInfo(); // return tag info
+ // bug88336 no need to restore markers
+ // return StringUtils.restoreMarkers(getTagInfo()); // return tag description
}
else if (propertyName != null && propertyName.equals("description")) { //$NON-NLS-1$
- return StringUtils.restoreMarkers(getDescription()); // return tag description
+ return getDescription();
+ // bug88336 no need to restore markers
+ // return StringUtils.restoreMarkers(getDescription()); // return tag description
}
else if (propertyName.equals(TLDDocument.CM_KIND)) {
return TLDDocument.JSP_TLD;
@@ -318,7 +322,9 @@ public class CMElementDeclarationImpl implements TLDElementDeclaration {
AnnotationMap map = (AnnotationMap)getOwnerDocument().getProperty("annotationMap"); //$NON-NLS-1$
String spec = getSpec();
String result = map.getProperty(spec, "tagInfo"); //$NON-NLS-1$
- return StringUtils.restoreMarkers(result); // return tag info
+ return result;
+ // bug88336 no need to restore markers
+ // return StringUtils.restoreMarkers(result); // return tag info
}
return null;
}

Back to the top