Strip entry attributes before removing html comments.

After passing through the remove_comments method, attributes are surrounded with <p>...</p> tags by Nokogiri, which means that e.g. trailing whitespaces, which were before the </p>, were no longer removed by the .strip method.

The fix is to strip attributes before removing html comments (in fact before any method in which attributes go through Nokogiri).