So I managed to extract the html and plan to use the Script Editor Web Part and save the page, but the request takes too much time and eventually times out. Most probably the reason for this is that I'am missing the \\n and \\\ signs before new line and double quotes. Once I put them into the HTML everything is ok. My idea is to replace the double quotes with the ASCI characters, which is pretty straight forward. The big problem here is that the output gives everything in one line and there are no line breaks to replace with \\n. Any help or ideas would be much appreciated. The content I need
<style type=\\\"text/css\\\">\\n
.awlist {\\n
list-style:none; \\n
counter-reset: awlistcounter 3; \\n
}\\n
</style>
The that I have
<style type="text/css">
.awlist{
list-style: none;
counter-reset: awlistcounter 3;
}
</style>