socketsupply / tonic

A Low Profile Component Framework – Stable, minimal, easy to audit, zero-dependencies and build-tool-free.
http://tonicframework.dev
MIT License
867 stars 24 forks source link

Change escaping strategy to auto escape all string references in `Tonic.html` #35

Closed Raynos closed 4 years ago

Raynos commented 4 years ago

To allow embedding html we can add Tonic.raw method that allows for marking a string as do not escape.

heapwolf commented 4 years ago

This is addressed in v11