Make Attr::value private.

This commit is contained in:
Ms2ger 2014-06-08 14:35:55 +02:00
parent 743dcee0f5
commit efe69f3a82
4 changed files with 6 additions and 6 deletions

View file

@ -151,7 +151,7 @@ fn serialize_attr(attr: &JSRef<Attr>, html: &mut String) {
html.push_str(attr.deref().name.as_slice());
};
html.push_str("=\"");
escape(attr.deref().value.as_slice(), true, html);
escape(attr.deref().value_ref(), true, html);
html.push_char('"');
}