Skip to content

Commit

Permalink
Update metadata.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jasper-bosch committed Sep 28, 2023
1 parent a0cbac6 commit 98f0db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub fn consume<R: Read>(context: &mut Context<R>) -> GpxResult<Metadata> {
match next_event {
XmlEvent::StartElement { ref name, .. } => match name.local_name.as_ref() {
"name" => {
metadata.name = Some(string::consume(context, "name", false)?);
metadata.name = Some(string::consume(context, "name", true)?);
}
"desc" => {
metadata.description = Some(string::consume(context, "desc", true)?);
Expand Down

0 comments on commit 98f0db6

Please sign in to comment.