Create structure for plain links.
All checks were successful
organic-test Build organic-test has succeeded

This commit is contained in:
Tom Alexander
2023-07-13 18:18:07 -04:00
parent 357b6f25b7
commit dcec5c490a
5 changed files with 53 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ use super::regular_link::regular_link;
use super::Context;
use crate::error::Res;
use crate::parser::object::Object;
use crate::parser::plain_link::plain_link;
use crate::parser::radio_link::radio_link;
use crate::parser::radio_link::radio_target;
use crate::parser::text_markup::text_markup;
@@ -31,6 +32,7 @@ pub fn standard_set_object<'r, 's>(
parser_with_context!(regular_link)(context),
Object::RegularLink,
),
map(parser_with_context!(plain_link)(context), Object::PlainLink),
map(parser_with_context!(plain_text)(context), Object::PlainText),
))(input)
}