We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<img>
import ( "bytes" "fmt" "github.com/yuin/goldmark" "github.com/yuin/goldmark/renderer/html" ) func main() { md := goldmark.New( goldmark.WithRendererOptions( html.WithUnsafe(), ), ) var buf bytes.Buffer if err := md.Convert([]byte("<img src=./.assets/logo.svg\n/>"), &buf); err != nil { panic(err) } fmt.Println(buf.String()) }
<p><img src=./.assets/logo.svg /></p>
<p><img src=./.assets/logo.svg /></p>
The text was updated successfully, but these errors were encountered:
254b9f8
Fix yuin#403, Fix yuin#406
0d4234b
No branches or pull requests
<img>
with the closing tag on a new line.The text was updated successfully, but these errors were encountered: