Reply to thread

There are 2 issues here.


1. For the issue as reported, this is expected. XF template syntax (for both XF1 and XF2) XML-style attributes (compared to the SGML/HTML type shown). All attributes consist of name-value pairs.


2. <xf:js> is not designed to take arbitrary attributes and does not have a direct mapping with a <script>. You'll see that the defer part doesn't doesn't get passed through to the underlying tag. If you have to have arbitrary script attributes, then you need to insert the script tag directly as needed.


Back
Top Bottom