Skip to content

doc: replace newlines in deprecation with space

As it is, each line in the deprecation heading which are wrapped at 80 characters in the *.md files, are shown in different lines. For example

> Stability: 0 - Deprecated: Use
> `Buffer.from(arrayBuffer[, byteOffset [, length]])`
> instead.

is shown in three different lines. This patch replaces the newlines with space characters, so that the output will be in single line.


Before this patch:

https://nodejs.org/api/buffer.html#buffer_new_buffer_arraybuffer_byteoffset_length

screen shot 2017-01-31 at 12 13 59 am

After this patch:

screen shot 2017-01-31 at 12 22 41 am
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

tools


cc @nodejs/documentation

Merge request reports

Loading