diff options
Diffstat (limited to 'packages/gitbook-html/lib/totext.js')
-rw-r--r-- | packages/gitbook-html/lib/totext.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/gitbook-html/lib/totext.js b/packages/gitbook-html/lib/totext.js index b1c94d4..49762d9 100644 --- a/packages/gitbook-html/lib/totext.js +++ b/packages/gitbook-html/lib/totext.js @@ -95,9 +95,9 @@ ToText.prototype._summaryArticle = function(article, level) { content += this.onListItemStart(level); - if (article.path) content += this.onLinkStart(article.path) + if (article.ref) content += this.onLinkStart(article.ref) content += this.onText(article.title) - if (article.path) content += this.onLinkEnd(article.path); + if (article.ref) content += this.onLinkEnd(article.ref); content += this.onBL(); if (article.articles && article.articles.length > 0) { |