summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-05-06 03:59:23 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-05-09 00:52:13 +0300
commit5f2b67dbcd13d5f1112ec9f6eaed1828c0d71e72 (patch)
treefdc371570ac277c29b0907dfeeb174877c6bb84f /tools
parenta76dfd24ec5c76d268ab2c6b6bd6a9cf36f602c6 (diff)
downloadandroid-node-v8-5f2b67dbcd13d5f1112ec9f6eaed1828c0d71e72.tar.gz
android-node-v8-5f2b67dbcd13d5f1112ec9f6eaed1828c0d71e72.tar.bz2
android-node-v8-5f2b67dbcd13d5f1112ec9f6eaed1828c0d71e72.zip
doc, tools: unify stability signatures
PR-URL: https://github.com/nodejs/node/pull/20552 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/doc/html.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/doc/html.js b/tools/doc/html.js
index 7712290b4c..00fd48d8e6 100644
--- a/tools/doc/html.js
+++ b/tools/doc/html.js
@@ -256,8 +256,7 @@ function preprocessElements(input) {
state = null;
return;
}
- if ((tok.type === 'paragraph' && state === 'MAYBE_STABILITY_BQ') ||
- tok.type === 'code') {
+ if (tok.type === 'paragraph' && state === 'MAYBE_STABILITY_BQ') {
if (tok.text.match(/Stability:.*/g)) {
const stabilityMatch = tok.text.match(STABILITY_TEXT_REG_EXP);
const stability = Number(stabilityMatch[2]);