[yew-devel] [PATCH proxmox-yew-comp 1/2] tasks: docs: Escape unscaped HTML

Maximiliano Sandoval m.sandoval at proxmox.com
Tue Jan 14 10:41:02 CET 2025


Fixes:

warning: unclosed HTML tag `nodename`
  --> src/tasks.rs:42:5
   |
42 |     /// The base url, default is '/nodes/<nodename>/tasks'
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(rustdoc::invalid_html_tags)]` on by default

Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
 src/tasks.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tasks.rs b/src/tasks.rs
index 9a6ad63..4ea243f 100644
--- a/src/tasks.rs
+++ b/src/tasks.rs
@@ -39,7 +39,7 @@ pub struct Tasks {
     #[prop_or_default]
     pub extra_filter: Option<(AttrValue, Html)>,
 
-    /// The base url, default is '/nodes/<nodename>/tasks'
+    /// The base url, default is `/nodes/<nodename>/tasks`.
     #[prop_or_default]
     #[builder(IntoPropValue, into_prop_value)]
     pub base_url: Option<AttrValue>,
-- 
2.39.5





More information about the yew-devel mailing list