Skip to content

Commit 2691231

Browse files
authored
🔀 Merge pull request #172 from anuarkaliyev23/fix/171-escape-in-title
Fixes #171 — Unescaped titles in bookmarks causing braindrop to crash
2 parents 76de8df + d915774 commit 2691231

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/braindrop/app/widgets/raindrop_details.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def _refresh_display(self) -> None:
265265
self._set(
266266
"collection",
267267
f"{PUBLIC_ICON if self.data.collection(self.raindrop.collection).public else PRIVATE_ICON}"
268-
f" {self.data.collection(self.raindrop.collection).title}",
268+
f" {escape(self.data.collection(self.raindrop.collection).title)}",
269269
)
270270
self._set("note", self.raindrop.note, Markdown)
271271
self._set(

0 commit comments

Comments
 (0)