mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-06 23:16:29 +03:00
Aligned stuff in down.c
This commit is contained in:
parent
150833ac5b
commit
ab60143fac
@ -136,30 +136,24 @@ u3_noun strong_to_noun(cmark_node * nod)
|
|||||||
|
|
||||||
u3_noun link_to_noun(cmark_node * nod)
|
u3_noun link_to_noun(cmark_node * nod)
|
||||||
{
|
{
|
||||||
return
|
return u3nc(u3nt(c3__link,
|
||||||
u3nc(
|
nod->as.link.url
|
||||||
u3nt(
|
? u3i_tape((c3_c *) nod->as.link.url)
|
||||||
c3__link,
|
: u3_nul,
|
||||||
nod->as.link.url
|
nod->as.link.title
|
||||||
? u3i_tape((c3_c *) nod->as.link.url)
|
? u3nc(u3_nul, u3i_tape((c3_c *) nod->as.link.title))
|
||||||
: u3_nul,
|
: u3_nul),
|
||||||
nod->as.link.title
|
list_elems_to_noun(nod));
|
||||||
? u3nc(u3_nul, u3i_tape((c3_c *) nod->as.link.title))
|
|
||||||
: u3_nul),
|
|
||||||
list_elems_to_noun(nod));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
u3_noun image_to_noun(cmark_node * nod)
|
u3_noun image_to_noun(cmark_node * nod)
|
||||||
{
|
{
|
||||||
return
|
return u3nc(u3nt(c3__blot,
|
||||||
u3nc(
|
u3i_tape((c3_c *) nod->as.link.url),
|
||||||
u3nt(
|
nod->as.link.title
|
||||||
c3__blot,
|
? u3nc(u3_nul, u3i_tape((c3_c *) nod->as.link.title))
|
||||||
u3i_tape((c3_c *) nod->as.link.url),
|
: u3_nul),
|
||||||
nod->as.link.title
|
list_elems_to_noun(nod));
|
||||||
? u3nc(u3_nul, u3i_tape((c3_c *) nod->as.link.title))
|
|
||||||
: u3_nul),
|
|
||||||
list_elems_to_noun(nod));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
u3_noun node_to_noun(cmark_node * nod)
|
u3_noun node_to_noun(cmark_node * nod)
|
||||||
|
Loading…
Reference in New Issue
Block a user