flavorjones / loofah

Ruby library for HTML/XML transformation and sanitization
MIT License
934 stars 137 forks source link

fix: comments should not be emitted by DocumentFragment#text #222

Closed flavorjones closed 2 years ago

flavorjones commented 2 years ago

Previously any comment nodes that were top-level children of the fragment were serialized.

Closes #221