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

Side by Side Diff: chrome/common/extensions/docs/templates/private/article.html

Issue 149543003: Unindented inclusion of +article fragment because it added extra whitespace to <pre> code blocks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {{- This is the shared template for Extension/App articles. 1 {{- This is the shared template for Extension/App articles.
2 - |article| The article content. 2 - |article| The article content.
3 - |platform| The platform. 3 - |platform| The platform.
4 - |platformTitle| The title of the platform ("Extensions" or "Apps"). 4 - |platformTitle| The title of the platform ("Extensions" or "Apps").
5 - |removeToc| Whether or not to remove the Table of Contents. 5 - |removeToc| Whether or not to remove the Table of Contents.
6 -}} 6 -}}
7 {{+content:partials.site 7 {{+content:partials.site
8 platform:platform 8 platform:platform
9 platformTitle:platformTitle}} 9 platformTitle:platformTitle}}
10 <article class="article-content"> 10 <article class="article-content">
11 <div itemprop="articleBody"> 11 <div itemprop="articleBody">
12 {{+article platform:platform platformTitle:platformTitle /}} 12
13 {{- This is unindented because it may contain whitespace-sensitive tags. -}}
14 {{+article platform:platform platformTitle:platformTitle /}}
15
13 {{+partials.cc /}} 16 {{+partials.cc /}}
14 <nav class="inline-toc no-permalink"> 17 <nav class="inline-toc no-permalink">
15 {{+partials.relatedpages_items items:sidenavs.related /}} 18 {{+partials.relatedpages_items items:sidenavs.related /}}
16 {{^removeToc}} 19 {{^removeToc}}
17 $(table_of_contents) 20 $(table_of_contents)
18 {{/removeToc}} 21 {{/removeToc}}
19 </nav> 22 </nav>
20 </div> 23 </div>
21 </article> 24 </article>
22 {{/partials.site}} 25 {{/partials.site}}
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698