html.streams: rename image-path to icon-path
parent
618330b31e
commit
4561bd88a3
|
@ -77,11 +77,11 @@ MACRO: make-css ( pairs -- str )
|
|||
: emit-html ( stream quot -- )
|
||||
dip data>> push ; inline
|
||||
|
||||
: image-path ( path -- images-path )
|
||||
: icon-path ( path -- icons-path )
|
||||
"vocab:definitions/icons/" ?head [ "/icons/" prepend ] when ;
|
||||
|
||||
: img-tag ( xml style -- xml )
|
||||
image of [ nip image-path simple-image ] when* ;
|
||||
image of [ nip icon-path simple-image ] when* ;
|
||||
|
||||
: format-html-span ( string style stream -- )
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue