Fix issue 12 for attributes
This commit is contained in:
@@ -423,7 +423,7 @@ pub fn parse(
|
||||
// return Err(format!("unknown key {}", name))
|
||||
// }
|
||||
}
|
||||
if !skipped {
|
||||
if depth == 0 && !skipped { // Look for attributes only at element start
|
||||
#attributes_loading
|
||||
}
|
||||
depth += 1;
|
||||
|
||||
Reference in New Issue
Block a user