You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Infinite.jsparseHTML strips out <script> tags by default:
var$data=$($.parseHTML(data))
In my use-case I'd prefer:
var$data=$($.parseHTML(data,undefined,true))
This makes it very handy to include any JS code (analytics, ads, etc) directly in the output. I'm not sure why this is not the default behavior for Infinite JS since the HTML is trusted and it's probably desirable. Maybe you could include an optional flag to allow <script> tags it if there are reasons to exclude it in the first place?
The text was updated successfully, but these errors were encountered:
In
Infinite.js
parseHTML strips out<script>
tags by default:In my use-case I'd prefer:
This makes it very handy to include any JS code (analytics, ads, etc) directly in the output. I'm not sure why this is not the default behavior for Infinite JS since the HTML is trusted and it's probably desirable. Maybe you could include an optional flag to allow
<script>
tags it if there are reasons to exclude it in the first place?The text was updated successfully, but these errors were encountered: