skubalj / build_html

Library for basic server-side rendering written in pure rust https://crates.io/crates/build_html
MIT License
29 stars 5 forks source link

Table miss tag caption #8

Closed miksax closed 1 year ago

miksax commented 1 year ago
let table = Table::new().with_caption("Caption").to_html_string();

assert_eq!(table, r#"<table><caption>Caption</caption></table>"#)
skubalj commented 1 year ago

Thanks for opening an issue and PR! I've patched table captions into the main branch here, and I should be pushing a new release to crates.io within the next couple of days.