diff options
author | firedfox <wangyang02@baidu.com> | 2016-03-03 16:18:09 +0800 |
---|---|---|
committer | silverwind <me@silverwind.io> | 2016-03-24 17:18:25 +0100 |
commit | 57a4dd9cc22101ff70b6a326ad95ee559aebf91f (patch) | |
tree | f7c3a55bafc9e8dcabcefba1ac7bcbf5d8729914 /tools | |
parent | 80ec0cc4d838460cdcae792627891040d3ee1091 (diff) | |
download | android-node-v8-57a4dd9cc22101ff70b6a326ad95ee559aebf91f.tar.gz android-node-v8-57a4dd9cc22101ff70b6a326ad95ee559aebf91f.tar.bz2 android-node-v8-57a4dd9cc22101ff70b6a326ad95ee559aebf91f.zip |
doc: fix order of end tags of list after heading
Current html result of a list after heading is <div
class="signature"><ul>...</div></ul>. Correct it to <div
class="signature"><ul>...</ul></div>.
PR-URL: https://github.com/nodejs/node/pull/5874
Fixes: https://github.com/nodejs/node/issues/5873
Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/doc/html.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/doc/html.js b/tools/doc/html.js index 8de9f49987..327c9f080e 100644 --- a/tools/doc/html.js +++ b/tools/doc/html.js @@ -159,11 +159,11 @@ function parseLists(input) { } if (tok.type === 'list_end') { depth--; + output.push(tok); if (depth === 0) { state = null; output.push({ type:'html', text: '</div>' }); } - output.push(tok); return; } if (tok.text) { |