aboutsummaryrefslogtreecommitdiff
path: root/src/attr.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-08-31 04:31:50 +0200
committerMartin Fischer <martin@push-f.com>2023-09-03 23:00:05 +0200
commit6f593fffaef3d1f539dd899579784c89182602b6 (patch)
tree685269f6044dbee6df58a7b841c8216375d4cedb /src/attr.rs
parent41198ce17b8d4388105a021c1645823b8d24324b (diff)
docs: document character reference resolution
Diffstat (limited to 'src/attr.rs')
-rw-r--r--src/attr.rs4
1 files changed, 2 insertions, 2 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
}