Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Add `FileDialog::set_show_hidden_files` and `AsyncFileDialog::set_show_hidden_files` to control hidden file visibility. Supported on macOS, Windows, and Linux (GTK3).
- Honor `FileDialog::set_directory` and `AsyncFileDialog::set_directory` when using the zenity fallback backend on Linux.
- Fix `liblary` typo in docs
- Change wasm title to sanitize text contents via `title_el.set_text_content()` rather than `title_el.set_inner_html()`.

## 0.17.2

Expand Down
2 changes: 1 addition & 1 deletion src/backend/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl<'a> WasmDialog<'a> {
let title_el: HtmlElement = document.create_element("div").unwrap().dyn_into().unwrap();

title_el.set_id("rfd-title");
title_el.set_inner_html(title);
title_el.set_text_content(Some(title));

card.append_child(&title_el).unwrap();
title_el
Expand Down