kennygrant / sanitize

Package sanitize provides functions for sanitizing text in golang strings.
BSD 3-Clause "New" or "Revised" License
334 stars 72 forks source link

how to remove all of <script>...</script>? #19

Closed herozzm closed 7 years ago

herozzm commented 7 years ago
<span style="color:#999;font-size:8px;">
        <script type="text/javascript">
            //something
        </script>
</span>

how to remove all of <script>...</script>?