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: Event summaries no longer get quotes over-escaped #2558

Merged
merged 2 commits into from
Aug 15, 2024

Conversation

kimadactyl
Copy link
Member

@kimadactyl kimadactyl commented Aug 14, 2024

A slight mis-scoping that was causing plain text strings to get re-encoded. This PR means that if as_plaintext is true, it doesn't get sent back through Kramdown before being saved.

I am lost how to write tests for this but have verified it working locally.

Fixes #1773

@kimadactyl kimadactyl requested a review from katjam August 14, 2024 15:21

if as_plaintext
doc.text
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this actually doing anything?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes - its an implicit return

@kimadactyl kimadactyl enabled auto-merge (squash) August 15, 2024 10:08
@kimadactyl kimadactyl merged commit 82caec5 into main Aug 15, 2024
2 checks passed
@kimadactyl kimadactyl deleted the fix-escaped-summaries branch August 15, 2024 10:12
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.

Frontend renders backslash before apostrophes
2 participants