help.markup: simpler $url.

factor-shell
John Benediktsson 2017-10-23 16:55:41 -07:00
parent d8ad5b25bd
commit c6953d5d62
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ ALIAS: $slot $snippet
[ strong-style get print-element* ] ($span) ;
: $url ( children -- )
[ ?second ] [ first ] bi over [ nip dup ] unless >url [
[ ?second ] [ first ] bi [ or ] keep >url [
dup present href associate url-style get assoc-union
[ write-object ] with-style
] ($span) ;