mirror of
https://github.com/jzillmann/pdf-to-markdown.git
synced 2024-11-21 15:23:26 +01:00
Fix build
This commit is contained in:
parent
98eb971533
commit
eb8e92c56d
@ -4,7 +4,7 @@
|
||||
"description": "A PDF to Markdown Converter",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
"watch": "webpack -d --watch",
|
||||
"watch": "webpack --mode development --watch",
|
||||
"build": "webpack",
|
||||
"start": "webpack serve",
|
||||
"lint": "eslint src --ext .js --ext .jsx --cache",
|
||||
|
@ -106,7 +106,7 @@ export function isListItem(string) {
|
||||
}
|
||||
|
||||
export function isNumberedListItem(string) {
|
||||
return /^[\s]*[\d]*[\.][\s].*$/g.test(string);
|
||||
return /^[\s]*[\d]*[.][\s].*$/g.test(string);
|
||||
}
|
||||
|
||||
export function wordMatch(string1, string2) {
|
||||
|
Loading…
Reference in New Issue
Block a user