◊(Local Yarn Code "View Ticket")

2019-05-26
20:26 Closed ticket [50052157]: Hyperlinks not properly decoded inside note tags plus 4 other changes artifact: 0238e42e user: joel
20:22
Fix [50052157dd] check-in: b6a4e42a user: joel tags: trunk
17:53 Ticket [50052157] Hyperlinks not properly decoded inside note tags status still Open with 4 other changes artifact: 3d7424be user: joel
17:53 New ticket [50052157]. artifact: f5bca042 user: joel

Ticket Hash: 50052157ddb442ea66f0eb663676e048c4d600be
Title: Hyperlinks not properly decoded inside note tags
Status: Closed Type: Code Defect
Severity: Important Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2019-05-26 20:26:45
Version Found In:
User Comments:
joel added on 2019-05-26 17:53:41:

Using ◊link and ◊url inside ◊note results in

decode-paragraphs: contract violation
  expected: txexpr-elements?
given: '("I perked up a bit when I read " (link& ((ref "n1")) "link text") " blah blah " 
(link& ((ref "n2")) "another link text") "\n" "\n" #<void> "\n" #<void> "\n" "\n" …


joel added on 2019-05-26 20:26:45:

The ◊url tag was returning <void> and this was causing problems since that isn’t a valid txexpr element. Fixed in [b6a4e42a] to return an empty string instead.