Support templates and wikilinks inside <open> tags (part 1)