| Index: Source/devtools/front_end/documentation/DocumentationView.js
|
| diff --git a/Source/devtools/front_end/documentation/DocumentationView.js b/Source/devtools/front_end/documentation/DocumentationView.js
|
| index 5f2a0c479fcc2c427464b1be907451df80941f35..3393e2aaaa99e8a8ac2f7c79307e5d3c036f7173 100644
|
| --- a/Source/devtools/front_end/documentation/DocumentationView.js
|
| +++ b/Source/devtools/front_end/documentation/DocumentationView.js
|
| @@ -253,10 +253,7 @@ WebInspector.DocumentationView.Renderer.prototype = {
|
| element = createElement("span");
|
| break;
|
| case elementTypes.Link:
|
| - element = createElementWithClass("a", "documentation-link");
|
| - element.href = article.url();
|
| - if (!article.children().length)
|
| - element.textContent = article.url();
|
| + element = WebInspector.createAnchor(article.url(), article.children().length ? "" : article.url(), true);
|
| break;
|
| case elementTypes.Code:
|
| element = createElementWithClass("span", "documentation-code-tag");
|
| @@ -426,4 +423,4 @@ WebInspector.DocumentationView.ContextMenuProvider.prototype = {
|
| return token ? line.substring(token.startColumn, token.endColumn) : null;
|
| }
|
| }
|
| -}
|
| +}
|
|
|