Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在打嗝中呈现异步脚本标签?
<script src="demo_async.js" async></script>
我认为您应该将其编码为
(use 'hiccup.core) (html [:script {:src "demo_async.js" :async "async"} ] ) => <script src="demo_async.js" async="async" ></script>
参考: http ://www.w3schools.com/tags/tag_script.asp