| Index: chrome/browser/resources/md_extensions/code_section.js
|
| diff --git a/chrome/browser/resources/md_extensions/code_section.js b/chrome/browser/resources/md_extensions/code_section.js
|
| index 502c86dc1fffea9e53fba639fb71bef9c0751e92..d2f4e8f32eb42cb8d4f7c8c61bfdb34771503bf7 100644
|
| --- a/chrome/browser/resources/md_extensions/code_section.js
|
| +++ b/chrome/browser/resources/md_extensions/code_section.js
|
| @@ -35,8 +35,8 @@ cr.define('extensions', function() {
|
| */
|
| isEmpty: function() {
|
| return !this.code ||
|
| - (!this.code.beforeHighlight && !this.code.highlight &&
|
| - !this.code.afterHighlight);
|
| + (!this.code.beforeHighlight && !this.code.highlight &&
|
| + !this.code.afterHighlight);
|
| },
|
|
|
| /**
|
| @@ -49,9 +49,9 @@ cr.define('extensions', function() {
|
| if (!this.code)
|
| return '';
|
|
|
| - var lines = [this.code.beforeHighlight,
|
| - this.code.highlight,
|
| - this.code.afterHighlight].join('').match(/\n/g);
|
| + var lines = [
|
| + this.code.beforeHighlight, this.code.highlight, this.code.afterHighlight
|
| + ].join('').match(/\n/g);
|
| var lineCount = lines ? lines.length : 0;
|
| var textContent = '';
|
| for (var i = 1; i <= lineCount; ++i)
|
|
|