Cleanup random .docx formatting errors

This fixes two bugs that sometimes exhibit themselves in .docx files:
1. Redundant addition of tags.
2. Instances when there is whitespace just inside the tag, which some MD readers do not know how to parse (e.g., `* Hello World*` as opposed to ` *Hello World*`).