Skip to content

Commit

Permalink
fix: fix prefix not detected when strict line break is disabled
Browse files Browse the repository at this point in the history
fix #20
  • Loading branch information
aidenlx committed Oct 7, 2021
1 parent 52f51c2 commit 38f27ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tx-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default class TableExtended extends Plugin {
if (
!(
firstEl instanceof HTMLParagraphElement &&
firstEl.innerHTML.startsWith("-tx-\n")
firstEl.innerHTML.startsWith("-tx-")
)
)
return;
Expand Down

0 comments on commit 38f27ca

Please sign in to comment.