From e672689a762b0c640acb6922fa7cf8158f908025 Mon Sep 17 00:00:00 2001 From: Justin Ma Date: Thu, 16 Mar 2023 19:41:19 +0800 Subject: [PATCH] Fix docs building error caused by missing end tag (#8477) --- crates/nu-command/src/formats/to/xml.rs | 2 +- crates/nu_plugin_query/src/nu/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-command/src/formats/to/xml.rs b/crates/nu-command/src/formats/to/xml.rs index a17a709757..c7099a85a5 100644 --- a/crates/nu-command/src/formats/to/xml.rs +++ b/crates/nu-command/src/formats/to/xml.rs @@ -37,7 +37,7 @@ To represent different types of entries different values must be written to this 1. Tag entry: `{tag: attrs: {: "" ...} content: []}` 2. Comment entry: `{tag: '!' attrs: null content: ""}` 3. Processing instruction (PI): `{tag: '?' attrs: null content: ""}` -4. Text: `{tag: null attrs: null content: ""}`. Or as plain "" instead of record. +4. Text: `{tag: null attrs: null content: ""}`. Or as plain `` instead of record. Additionally any field which is: empty record, empty list or null, can be omitted."# } diff --git a/crates/nu_plugin_query/src/nu/mod.rs b/crates/nu_plugin_query/src/nu/mod.rs index 27ce7a4b98..ac617fb5b2 100644 --- a/crates/nu_plugin_query/src/nu/mod.rs +++ b/crates/nu_plugin_query/src/nu/mod.rs @@ -73,7 +73,7 @@ impl Plugin for Query { pub fn web_examples() -> Vec { vec![PluginExample { example: "http get https://phoronix.com | query web -q 'header'".into(), - description: "Retrieve all
elements from phoronix.com website".into(), + description: "Retrieve all `
` elements from phoronix.com website".into(), result: None, }, PluginExample { example: "http get https://en.wikipedia.org/wiki/List_of_cities_in_India_by_population