Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4505)

Unified Diff: chrome/common/extensions/docs/templates/private/table_of_contents_items.html

Issue 99703004: Docserver: Fix the TOC rendering for API references by fixing the haphazard way (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/templates/private/table_of_contents_items.html
diff --git a/chrome/common/extensions/docs/templates/private/table_of_contents_items.html b/chrome/common/extensions/docs/templates/private/table_of_contents_items.html
index 3c206424e1fb70815856cb8789e7ba75ad7e2a67..d987a1d0ef0e594ae9b1c7852b73f752e888269e 100644
--- a/chrome/common/extensions/docs/templates/private/table_of_contents_items.html
+++ b/chrome/common/extensions/docs/templates/private/table_of_contents_items.html
@@ -1,7 +1,9 @@
<ol>
{{#i:items}}
<li {{?i.separator}}class="separator"{{/}}>
- <a href="#{{i.link}}">{{{i.title}}}</a>
+ <a href="#{{i.link}}"
+ data-list-item
+ {{#a:i.attributes}}{{a.key}}="{{a.value}}"{{/}}>{{{i.title}}}</a>
{{?i.subheadings +partials.table_of_contents_items items:i.subheadings /}}
</li>
{{/items}}

Powered by Google App Engine
This is Rietveld 408576698