From 0b5f515d8507a060470ad56a25fcbf58a5d35e29 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sun, 28 Nov 2021 21:29:30 +0100 Subject: [PATCH] Expose EndTag and EndTagError as they are public API for on_end_tag --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 7117cf69..b804933b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -52,7 +52,8 @@ pub mod errors { /// HTML content descriptors that can be produced and modified by a rewriter. pub mod html_content { pub use super::rewritable_units::{ - Attribute, Comment, ContentType, Doctype, DocumentEnd, Element, TextChunk, UserData, + Attribute, Comment, ContentType, Doctype, DocumentEnd, Element, EndTag, EndTagError, + TextChunk, UserData, }; pub use super::html::TextType;