Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inserting unexpected escape characters. #65

Open
boog opened this issue Jun 12, 2024 · 1 comment
Open

Inserting unexpected escape characters. #65

boog opened this issue Jun 12, 2024 · 1 comment

Comments

@boog
Copy link

boog commented Jun 12, 2024

Converting a number followed by a period (.) followed by a space inserts an escaped backslash before the period unexpectedly.

ie
input: 9.
output: 9\\.

Not clear to me why it's inserting an escaped \ character, probably has something to do with floating point numbers or something like this. Is there a way to disable or work-around this issue?

@boog
Copy link
Author

boog commented Jun 12, 2024

Example code:

      const output = NodeHtmlMarkdown.translate(
        /* html */ "9. ", 
      );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant