Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
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.
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.
<xf:js>
<script>
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences