fixed a small bug related to closing wiki-tag - no really