[feed.py] there is no yaml/toml-specific sanitization happening #6

Closed
opened 2022-01-01 07:39:17 +00:00 by aadil · 5 comments
aadil commented 2022-01-01 07:39:17 +00:00 (Migrated from git.autonomic.zone)

copied over from lumbung-theme repo

title: "rra: “"The fediverse is diverse beca…”"

this kind of stuff breaks things

copied over from [lumbung-theme repo](https://git.vvvvvvaria.org/rra/lumbung-feed-aggregator/issues/10) ``` title: "rra: “"The fediverse is diverse beca…”" ``` > this kind of stuff breaks things
r commented 2022-01-07 10:01:34 +00:00 (Migrated from git.autonomic.zone)

Quotes, square brackets or other things that are syntax in yaml/toml (the post frontmatter) need to be escaped or otherwise things break!

Quotes, square brackets or other things that are syntax in yaml/toml (the post frontmatter) need to be escaped or otherwise things break!
decentral1se commented 2022-04-13 10:49:41 +00:00 (Migrated from git.autonomic.zone)
https://git.autonomic.zone/ruangrupa/lumbunglib/pulls/28#issuecomment-10510
knoflook commented 2022-04-19 10:46:38 +00:00 (Migrated from git.autonomic.zone)

Do we need to actually escape this or not? After reverting #28 everything seems to work OK

Do we need to actually escape this or not? After reverting #28 everything seems to work OK
r commented 2022-04-22 07:07:13 +00:00 (Migrated from git.autonomic.zone)

Quotes, square brackets or other things that are syntax in yaml/toml (the post frontmatter) need to be escaped or otherwise things break!

I wrote this before I started looking in to sanitization and before I wrote the PR. Afaik if we wrap everything in double quotes (as we do), we only need to be able to escape those.

> Quotes, square brackets or other things that are syntax in yaml/toml (the post frontmatter) need to be escaped or otherwise things break! I wrote this before I started looking in to sanitization and before I wrote the PR. Afaik if we wrap everything in double quotes (as we do), we only need to be able to escape those.
knoflook commented 2022-05-12 08:19:42 +00:00 (Migrated from git.autonomic.zone)

cool, then this is resolved!

cool, then this is resolved!
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lumbung.space/konfluks#6
No description provided.