This commit is contained in:
12
node_modules/micromark/dist/character/ascii-control.js
generated
vendored
Normal file
12
node_modules/micromark/dist/character/ascii-control.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
'use strict'
|
||||
|
||||
// Note: EOF is seen as ASCII control here, because `null < 32 == true`.
|
||||
function asciiControl(code) {
|
||||
return (
|
||||
// Special whitespace codes (which have negative values), C0 and Control
|
||||
// character DEL
|
||||
code < 32 || code === 127
|
||||
)
|
||||
}
|
||||
|
||||
module.exports = asciiControl
|
||||
Reference in New Issue
Block a user