Skip to content

Commit

Permalink
fix(ooxast-util-to-unified-latex): remove 'bare' option for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tefkah committed Mar 29, 2023
1 parent c0c41ca commit 7891408
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/lib/ooxast-util-to-unified-latex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ export function toUnifiedLatex(

const result = one(h, tree, undefined)

if (!h.document) {
return result
}
// if (!h.document) {
// return result
// }

if (!result) {
return { type: 'root', content: [] } as UnifiedLatexRoot
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"declaration": true,
"types": ["node"]
},
"exclude": ["**/*.spec.ts", "**/*.test.ts"],
"exclude": ["**/*.spec.ts", "**/*.test.ts", "vite.config.ts"],
"include": ["**/*.ts"]
}

0 comments on commit 7891408

Please sign in to comment.