Index: Source/devtools/front_end/documentation/DocumentationURLProvider.js |
diff --git a/Source/devtools/front_end/documentation/DocumentationURLProvider.js b/Source/devtools/front_end/documentation/DocumentationURLProvider.js |
index 20fad27c002bc4705e5cba2a0b7d4721c761f247..04ee2c753c017bbb5b1a9a172a5c548ef1a87130 100644 |
--- a/Source/devtools/front_end/documentation/DocumentationURLProvider.js |
+++ b/Source/devtools/front_end/documentation/DocumentationURLProvider.js |
@@ -233,7 +233,7 @@ WebInspector.DocumentationURLProvider.prototype = { |
var lastSlashIndex = itemPath.lastIndexOf("/"); |
if (lastSlashIndex === -1) |
return; |
- var sourceName = itemPath.substring(0, lastSlashIndex + 1); |
+ var sourceName = itemPath.substring(0, lastSlashIndex + 1).replace(" ", "_"); |
// There are some properties which have several words in their name. |
// In article list they are written through gap, while in URL they are written through underscore. |
// We are creating URL for current property, so we have to replace all the gaps with underscores. |