<!DOCTYPE html>
<html>
<head>
</head>
<body>
<ul>
<li id="blub">
<p>Test</p>
</li>
</ul>
<script>
document.getElementById('blub').firstChild.data = document.getElementById('blub').firstChild.data;
</script>
</body>
</html>