IDEA-171524 Requesting help from the menu or pressing F1 --> nonexistent web page

This commit is contained in:
Vassiliy.Kudryashov
2017-04-20 17:56:36 +03:00
parent 73aeda01ba
commit 81caf348bb
@@ -73,8 +73,8 @@ public class HelpManagerImpl extends HelpManager {
}
String productVersion = info.getMajorVersion() + "." + minorVersion;
String url = info.getWebHelpUrl() + "/" + productVersion + "/?" + id;
String url = (info.getWebHelpUrl() + "/" + productVersion + "/?" + id).replaceAll("//", "/");
if (PlatformUtils.isJetBrainsProduct()) {
String productCode = info.getBuild().getProductCode();
if(!StringUtil.isEmpty(productCode)) {