Skip to content

Commit 2badff9

Browse files
committed
form feed fix
1 parent 9f692ca commit 2badff9

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const spacePaddingLength = 130;
1010
*/
1111
export function parseDockets(docketFileText) {
1212
const dockets = [];
13-
const docketLines = docketFileText.replaceAll('\f', ' ').split(/[\n\f]/);
13+
const docketLines = docketFileText.replaceAll('\f', ' \n').split(/[\n\f]/);
1414
let docketLineIndex = 0;
1515
for (docketLineIndex = 0; docketLineIndex < docketLines.length; docketLineIndex += 1) {
1616
let docketLine = docketLines.at(docketLineIndex) ?? '';

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const spacePaddingLength = 130
1515
export function parseDockets(docketFileText: string): Docket[] {
1616
const dockets: Docket[] = []
1717

18-
const docketLines = docketFileText.replaceAll('\f', ' ').split(/[\n\f]/)
18+
const docketLines = docketFileText.replaceAll('\f', ' \n').split(/[\n\f]/)
1919

2020
let docketLineIndex = 0
2121

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cityssm/docket-parser",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"type": "module",
55
"engines": {
66
"node": ">=18.0.0"

0 commit comments

Comments
 (0)