parsers: rustfmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
fa8b9ed199
commit
fd158d9a08
12 changed files with 114 additions and 101 deletions
|
|
@ -454,8 +454,7 @@ impl From<Tag> for Element {
|
|||
panic!("No unknown element should be present in XHTML-IM after parsing.")
|
||||
}
|
||||
};
|
||||
let mut builder = Element::builder(name, ns::XHTML)
|
||||
.append_all(children_to_nodes(children));
|
||||
let mut builder = Element::builder(name, ns::XHTML).append_all(children_to_nodes(children));
|
||||
for (key, value) in attrs {
|
||||
builder = builder.attr(key, value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue