Prevent html conversion crash when /TM starts with blank line