v0.25.5
This commit is contained in:
1 parent
1dea7f55c8
commit
c819f0a335
151 files changed
+7610
-4264
No files matched your search
@@ -106,7 +106,11 @@ fn raw_tag(tag: &str) -> Option<(RawElement, bool, bool)> {
|
||||
return None;
|
||||
}
|
||||
let closing = inner.starts_with('/');
|
||||
let inner = if closing { inner[1..].trim_start() } else { inner };
|
||||
let inner = if closing {
|
||||
inner[1..].trim_start()
|
||||
} else {
|
||||
inner
|
||||
};
|
||||
let self_closing = inner.ends_with('/');
|
||||
let name = inner
|
||||
.split(|ch: char| ch.is_ascii_whitespace() || ch == '/' || ch == '>')
|
||||
|
||||
Reference in new issue
Block a user