When use deface to change some parts of page, non related parts like JS may be corrupted.
For example if you deface this page to convert "Hello" to "Hi"
<%= "Hello deface" %>
<script>alert(1 > 2);</script>
it changes to
<%= "Hi deface" %>
<script>alert(1 > 2);</script>
">" changed to ">"
deface 1.8.1
ruby 2.5.5
rails 5.2
When use deface to change some parts of page, non related parts like JS may be corrupted.
For example if you deface this page to convert "Hello" to "Hi"
it changes to
">" changed to ">"