Fix image links appearing with escaped slashes
Changelog-Fixed: Fix images and links occasionally appearing with escaped slashes Closes: https://github.com/damus-io/damus/issues/1468 Signed-off-by: Daniel D‘Aquino <daniel@daquino.me> Signed-off-by: William Casarin <jb55@jb55.com> Rewarded-sats: 50000
This commit is contained in:
committed by
William Casarin
parent
7f313dcbd4
commit
066b3cdde8
@@ -610,6 +610,11 @@ struct NoteContentView_Previews: PreviewProvider {
|
||||
NoteContentView(damus_state: state, event: test_note, show_images: true, size: .normal, options: [])
|
||||
}
|
||||
.previewDisplayName("Short note")
|
||||
|
||||
VStack {
|
||||
NoteContentView(damus_state: state, event: test_encoded_note_with_image!, show_images: true, size: .normal, options: [])
|
||||
}
|
||||
.previewDisplayName("Note with image")
|
||||
|
||||
VStack {
|
||||
NoteContentView(damus_state: state2, event: test_longform_event.event, show_images: true, size: .normal, options: [.wide])
|
||||
|
||||
Reference in New Issue
Block a user