mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
modify: change to modern js
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* @return {string}
|
||||
*/
|
||||
export function strip (input) {
|
||||
var output = input
|
||||
let output = input
|
||||
try {
|
||||
output = output
|
||||
.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm, '$1')
|
||||
|
||||
Reference in New Issue
Block a user