diff options
author | nitind | 2005-04-13 06:23:50 +0000 |
---|---|---|
committer | nitind | 2005-04-13 06:23:50 +0000 |
commit | d791c96a713b61adf556ffe1684faa63a9d674b2 (patch) | |
tree | e2aad0223ca86e19ab55870a0eec0acd381eacb9 | |
parent | 584433ca9133abfdbd73a8fa35308bd6afc8e2f4 (diff) | |
download | webtools.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.java | 12 |
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; } |