diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/attr.rs | 4 | ||||
-rw-r--r-- | src/emitter.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/attr.rs b/src/attr.rs index a4a3428..2330cf8 100644 --- a/src/attr.rs +++ b/src/attr.rs @@ -63,7 +63,7 @@ pub struct AttributeOwned<O> { /// The attribute name. /// Uppercase ASCII characters (A-Z) have been converted to lowercase. pub name: String, - /// The attribute value. + /// The attribute value. Character references have been resolved. pub value: String, /// The start offset of the attribute name. pub name_offset: O, @@ -94,7 +94,7 @@ impl<'a, O: Offset> Attribute<'a, O> { self.name } - /// Returns the attribute value. + /// Returns the attribute value. Character references have been resolved. pub fn value(&self) -> &'a str { &self.map_val.value } diff --git a/src/emitter.rs b/src/emitter.rs index 3fbb9e2..f5c3ceb 100644 --- a/src/emitter.rs +++ b/src/emitter.rs @@ -568,7 +568,7 @@ pub enum Token<O> { StartTag(StartTag<O>), /// An HTML end tag. EndTag(EndTag<O>), - /// A literal string. + /// A literal string. Character references have been resolved. String(String), /// An HTML comment. Comment(Comment<O>), |