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

Fix comment hashtag issue #38

Merged
merged 1 commit into from
Jun 15, 2023
Merged

Fix comment hashtag issue #38

merged 1 commit into from
Jun 15, 2023

Conversation

biran4454
Copy link
Contributor

Fix hashtags from ending the file too early.
Closes #34 and possibly #20.

@biran4454
Copy link
Contributor Author

biran4454 commented Jun 11, 2023

I considered replacing # with a hyphen or other symbol, however I opted for removing the hashtag entirely since I felt it was unlikely to cause too much of an issue.
In retrospect however it may interfere with the MD syntax for headings and python comments, let me know what you think.

@j0be
Copy link
Owner

j0be commented Jun 15, 2023

Replace it with "%23" and I'll get that merged

@j0be
Copy link
Owner

j0be commented Jun 15, 2023

That bug is actually caused because it's a part of an href, which makes it parsed as a URL. Technically, PDS should really run encodeURIComponent() on every comment value, but this at least fixes hashes

Fix hashtags from ending the file too early

URI encodes # symbol
@biran4454
Copy link
Contributor Author

Replace it with "%23" and I'll get that merged

Done! Not sure why I didn't do this in the first place haha.

@j0be j0be merged commit 2753246 into j0be:master Jun 15, 2023
mykola2312 pushed a commit to mykola2312/PowerDeleteSuite that referenced this pull request Jun 30, 2024
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

Successfully merging this pull request may close these issues.

Export stops after hashtag
2 participants