typst-0.12.1: test/typ/regression/issue108-hyphen.out
--- parse tree ---
[ Code
"typ/regression/issue108-hyphen.typ"
( line 1 , column 2 )
(Show
(Just (Ident (Identifier "ref")))
(FuncExpr
[ NormalParam (Identifier "it") ]
(Block
(Content
[ Code
"typ/regression/issue108-hyphen.typ"
( line 1 , column 20 )
(FuncCall
(Ident (Identifier "str"))
[ NormalArg
(FieldAccess
(Ident (Identifier "target")) (Ident (Identifier "it")))
])
]))))
, SoftBreak
, Heading 1 [ Text "Hyphen" ]
, Space
, Code
"typ/regression/issue108-hyphen.typ"
( line 2 , column 10 )
(Label "my-anchor-")
, ParBreak
, Text "Please"
, Space
, Text "see"
, Space
, Ref "my-anchor-" (Literal Auto)
, Text "."
, SoftBreak
, Text "Please"
, Space
, Text "see"
, Space
, Ref "my-anchor-" (Block (Content [ Text "note" ]))
, ParBreak
]
--- evaluated ---
document(body: { text(body: [
]),
heading(body: text(body: [Hyphen]),
level: 1),
text(body: [ ]),
<my-anchor->,
parbreak(),
text(body: [Please see ]),
text(body: [<my-anchor->]),
text(body: [.
Please see ]),
text(body: [<my-anchor->]),
parbreak() })