question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

single newlines are treated as full newlines causing lost of false positives

See original GitHub issue

This extension is almost impossible to use with Markdown documents because it will generate a huje number of false positive results on sentences that spread on multiple lines.

Most people writing markdown use a line wrapping at 79-120 column as markdown does consider single newlines as continuation, only double newlines act as real newline.

Example below would trigger an error about missing article on cat, when in fact the article is there.

... The
cat is out of the bag.

In fact the same problem applies not only to markdown but also to plain text and rst files, on any of them is normal to wrap sentences on multiple lines.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ssbarneacommented, May 23, 2022

@znck Thanks! I updated to pre-release and I confirm that Grammarly appears to be working fine now.

1reaction
znckcommented, May 23, 2022

This should be fixed. If not, please create a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

doesn't match CRLF · Issue #244 · rust-lang/regex - GitHub
I'm using Windows so the newlines are \r\n. ... use ^$ to find blank lines; this would give 100% false positives on Windows...
Read more >
Why do newline characters get lost when using command ...
Newlines get swapped out at some points because they are special characters. In order to keep them, you need to make sure they're...
Read more >
Checks and fixups — Weblate 4.15.1 documentation
The checks can be ignored in case of false positives. ... Omitting format strings in translation usually causes severe problems, so the formatting...
Read more >
Handle line breaks (newlines) in Python - nkmk note
This article describes how to handle strings including line breaks (line feeds, new lines) in Python. Create a string containing line breaks.
Read more >
Regular Expressions: Regexes in Python (Part 1)
In this tutorial, you'll explore regular expressions, also known as regexes, in Python. A regex is a special sequence of characters that defines...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found