self-close img
tag in hastscript
?
#89
Answered
by
wooorm
deadcoder0904
asked this question in
Q&A
-
i did curious, why it isn't self-closed? any reasons? or bug? |
Beta Was this translation helpful? Give feedback.
Answered by
wooorm
Nov 3, 2022
Replies: 1 comment
-
hastscript doesnt generate a string of html markup. hast-util-to-html does that. It has an option for this. But you don't need it. This is html. That slash doesn't so anything. Like semicolons in most places in javascript, or single vs double quotes. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
deadcoder0904
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hastscript doesnt generate a string of html markup. hast-util-to-html does that. It has an option for this. But you don't need it. This is html. That slash doesn't so anything. Like semicolons in most places in javascript, or single vs double quotes.