diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-05-06 10:05:11 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-05-06 10:05:11 +0200 |
| commit | bfaf5447a789cd0dbbb1e418bea62fef9edc2b7d (patch) | |
| tree | 0cc1a47b37439fbeda06c57ebef0025becae0066 /src/library/text/link.rs | |
| parent | 49b8574b8d03e52a990f7d7b009c36fbdad0d55a (diff) | |
Cast content from string
Diffstat (limited to 'src/library/text/link.rs')
| -rw-r--r-- | src/library/text/link.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/text/link.rs b/src/library/text/link.rs index 423bcbfb..9e933529 100644 --- a/src/library/text/link.rs +++ b/src/library/text/link.rs @@ -22,7 +22,7 @@ impl LinkNode { fn construct(_: &mut Context, args: &mut Args) -> TypResult<Content> { Ok(Content::show(Self { url: args.expect::<EcoString>("url")?, - body: args.find()?, + body: args.eat()?, })) } } |
