fixed all html entity encoding problems, now all test-examples run in the console, too