- Remove custom HTML rendering logic in favor of logic from
package:html
. - Added
topics
topubspec.yaml
. rel
attributes added throughaddLinkRel
are appended to existing ones.
- Migrate to null safety.
- Make
addLinkRel
optional. Issue.
- Added
addLinkRel
option tosanitize_html
. This will allow users to qualify outbound links which may help prevent comment spam.
- Only print self-closing tags for
void-elements.
This could cause
<strong />
in HTML documents, which is can be interpreted as an opening tag by HTML5 parsers, causing the HTML structure to break.
- Does not depend on
universal_html
, uses custom HTML rendering for the output. - Allowed classes are kept, even if there are non-allowed classes present on the same element.
- Add options
allowElementId
andallowClassName
to allow specific element ids and class names.
- Initial release.