render-rs / render.rs

🔏 A safe and simple template engine with the ergonomics of JSX
https://docs.rs/render
MIT License
238 stars 23 forks source link

fix: Correct handling of empty non self-closing elements #51

Open gkhk0 opened 1 year ago

gkhk0 commented 1 year ago

Previously empty element tags were causing other elements to be incorrectly rendered inside them.

This commit fixes the issue by ensuring that empty non self-closing tags are handled correctly.

Closes #42