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

[BUG]: Plugin Fails to Scan and Add Cards with Trailing Spaces After the First or Second Line for Block Cards #269

Open
Leegenux opened this issue Apr 6, 2024 · 0 comments

Comments

@Leegenux
Copy link

Leegenux commented Apr 6, 2024

Description:
The plugin ignores cards that contain space characters after either the first or second line. This issue prevents legitimate cards from being added.

Steps to Reproduce:

Attempt to add a card with the following content, noting the trailing spaces after the first line:

START 
Basic
HTTP Header Fields
Back:
- HTTP defines various header fields, used to carry metadata for requests and responses.
- Header fields can include general header fields, request header fields, response header fields, and entity header fields.
END

Expected Result:
The card is successfully scanned and added to the vault without issues.

Actual Result:
The plugin fails to recognize and add the card due to the trailing space characters.

Rationale for Fixing:
Ensuring the plugin can handle cards with accidental trailing spaces is crucial for maintaining a robust and user-friendly experience. Cards that appear legitimate should not be excluded from the vault due to such minor formatting discrepancies. Fixing this issue will enhance the plugin's reliability and prevent users from missing important content due to unnoticed trailing spaces.

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