Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Voormann2018-11-27 23:10:32 +0000
committerHolger Voormann2018-11-27 23:10:32 +0000
commit11b0b8ded36da131966219bc45b9bd1e2600fed7 (patch)
tree927160fe4d1ab9b40a9f002c619b9564a776eb75
parentb4361a89654c64dfcc0ebef8d25ada3c0f6ac3d0 (diff)
downloadeclipse.platform.ua-11b0b8ded36da131966219bc45b9bd1e2600fed7.tar.gz
eclipse.platform.ua-11b0b8ded36da131966219bc45b9bd1e2600fed7.tar.xz
eclipse.platform.ua-11b0b8ded36da131966219bc45b9bd1e2600fed7.zip
Use "UrlUtil.htmlEncode()" instead of "UrlUtil.JavaScriptEncode()" to encode "data.getTitle()" to avoid that the search tab title is displayed as "Search\u0020Results" (instead of as "Search Results"). Change-Id: I0daf7203b062fc32f7d2c3dca3c4b7d332637b99 Signed-off-by: Holger Voormann <eclipse@voormann.de>
-rw-r--r--org.eclipse.help.webapp/advanced/toolbar.jsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.help.webapp/advanced/toolbar.jsp b/org.eclipse.help.webapp/advanced/toolbar.jsp
index d5c3f673d..2b94d78ad 100644
--- a/org.eclipse.help.webapp/advanced/toolbar.jsp
+++ b/org.eclipse.help.webapp/advanced/toolbar.jsp
@@ -452,7 +452,7 @@ if(buttons.length > 0){
<tr>
<td nowrap style="font: <%=prefs.getToolbarFont()%>" valign="middle">
- <div id="titleTextTableDiv" style="overflow:hidden; height:22px;"><table><tr><td nowrap style="font:<%=prefs.getToolbarFont()%>"><div id="titleText" >&nbsp;<%= UrlUtil.JavaScriptEncode(data.getTitle()) %></div></td></tr></table>
+ <div id="titleTextTableDiv" style="overflow:hidden; height:22px;"><table><tr><td nowrap style="font:<%=prefs.getToolbarFont()%>"><div id="titleText" >&nbsp;<%=UrlUtil.htmlEncode(data.getTitle())%></div></td></tr></table>
</div>

Back to the top