Make <nowiki> handling work correctly and add better testcase
Fix indentation and ce