WICKET-5288 Allow <script>-Tags act as WebMarkUpContainer to add Child-Components

Improve the fix to handle attribute values wrapped in single quotes

(cherry picked from commit 686bc9a8abbdb15034cf8055ec7653e27929f4ce)