Filters apply as you choose them.
In all versions of the package jspdf, it is possible to use <<script>script> in order to go over the filtering regex.