diff options
Diffstat (limited to 'src/emitter.rs')
-rw-r--r-- | src/emitter.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/emitter.rs b/src/emitter.rs index 1ab01f0..48ac391 100644 --- a/src/emitter.rs +++ b/src/emitter.rs @@ -132,9 +132,11 @@ pub trait Emitter<R> { fn init_attribute_name(&mut self, reader: &R); /// Called before the first push_attribute_value call. + /// If the value is wrappend in double or single quotes `quoted` is set to true, otherwise false. /// /// If there is no current attribute, this method may panic. - fn init_attribute_value(&mut self, #[allow(unused_variables)] reader: &R) {} + #[allow(unused_variables)] + fn init_attribute_value(&mut self, reader: &R, quoted: bool) {} /// Append a string to the current attribute's name. /// |