diff options
Diffstat (limited to 'packages/gitbook-asciidoc/lib/readme.js')
-rwxr-xr-x | packages/gitbook-asciidoc/lib/readme.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/gitbook-asciidoc/lib/readme.js b/packages/gitbook-asciidoc/lib/readme.js index e8b73fa..bdcd3d3 100755 --- a/packages/gitbook-asciidoc/lib/readme.js +++ b/packages/gitbook-asciidoc/lib/readme.js @@ -4,13 +4,13 @@ var cheerio = require('cheerio'); var convert = require('./utils/convert'); function parseReadme(src) { - var html = convert(src); - var $ = cheerio.load(html); + var html = convert(src); + var $ = cheerio.load(html); - return { - title: $("h1:first-child").text().trim(), - description: $("div.paragraph").first().text().trim() - }; + return { + title: $("h1:first-child").text().trim(), + description: $("div.paragraph").first().text().trim() + }; } |