fn parse_attributes(&mut self) -> dom::AttrMap {
        let mut attributes = HashMap::new();
        loop {
            self.consume_whitespace();
            if self.next_char() == '>' {
                break;
            }
            let (name, value) = self.parse_attr();
            attributes.insert(name, value);
        }
        attributes
    }
/// Parse a list of name="value" pairs, separated by whitespace.
Parse a list of name="value" pairs, separated by whitespace.
Parse a list of name = " value " pairs separated by whitespace .
fn parse_attributes(&mut self) -> dom::AttrMap {
        let mut attributes = HashMap::new();
        loop {
            self.consume_whitespace();
            if self.next_char() == '>' {
                break;
            }
            let (name, value) = self.parse_attr();
            attributes.insert(name, value);
        }
        attributes
    }
fn parse_attributes ( & mut self ) -> dom :: AttrMap { let mut attributes = HashMap :: new ( ) ; loop { self . consume_whitespace ( ) ; if self . next_char ( ) == '>' { break ; } let ( name , value ) = self . parse_attr ( ) ; attributes . insert ( name , value ) ; } attributes }
Parse a list of name="value" pairs, separated by whitespace.
Parse a list of name = " value " pairs separated by whitespace .
&mut self