<script> 標籤。
$current = str_replace("\r\n", PHP_EOL, htmlspecialchars_decode($currentanswer['answer']));
$current = preg_replace('/<.*script.*>/', '', $current);
<...>標記,所以將所有 html 標記取代成 <\1>。
$response->sh_aout = preg_replace('/<([^<>]*)>/', '<\1>', $response->sh_aout);