-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
if we really really want keep tags while dont-autorender move all html frags from stache into the current DOM we can prodive a keep-data attribute.
should this line:
Line 118 in 720af84
| if(!ignoreTag && !(node.dataset && node.dataset.keep === "")) { |
not be:
if(!ignoreTag || (node.dataset && node.dataset.keep === ""))
instead of
if(!ignoreTag && !(node.dataset && node.dataset.keep === ""))
current szenario:
i have <link rel="preload" href="//fonts.gstatic.com/s/abel/v8/MwQ5bhbm2POE2V9BPQ.woff2" as="font" type="font/woff2" crossorigin="anonymous" data-keep> and want it to be on the header. but done autorender removes LINK tags