| 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:
(text/x-fossil-wiki)
Using <code>◊link</code> and <code>◊url</code> inside <code>◊note</code> results in
<pre><code>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" …</code></pre>
joel added on 2019-05-26 20:26:45: (text/x-fossil-wiki) The <code>◊url</code> tag was returning <code><void></code> and this was causing problems since that isn’t a valid txexpr element. Fixed in [b6a4e42a] to return an empty string instead. | ||||