diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-11-07 12:21:12 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-11-07 12:46:05 +0100 |
| commit | efd1853d069fbd1476e82d015da4d0d04cfaccc0 (patch) | |
| tree | 842b745c134306539d10c61be9485794fe8dc7dc /src/model/value.rs | |
| parent | eb951c008beea502042db4a3a0e8d1f8b51f6f52 (diff) | |
Show it!
- New show rule syntax
- Set if syntax
- Removed wrap syntax
Diffstat (limited to 'src/model/value.rs')
| -rw-r--r-- | src/model/value.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/value.rs b/src/model/value.rs index 825e6f55..9e6968fa 100644 --- a/src/model/value.rs +++ b/src/model/value.rs @@ -381,7 +381,7 @@ primitive! { Str: "string", Str } primitive! { Content: "content", Content, None => Content::empty(), - Str(text) => Content::text(text) + Str(text) => item!(text)(text.into()) } primitive! { Array: "array", Array } primitive! { Dict: "dictionary", Dict } |
