I am having trouble with article formatting when exporting/importing articles from the production to the development environments

Whenever I export a couple of articles from my production site to my development site, the imported one loses all its spacings (&nbsp elements). Has anyone ever encountered this?

I use WordPress Importer; also tried different export/import plugins and they have the same effect.

  1. also have trouble with the featured image not being exported for the said articles and it is not being shown.

To be more precise:

The export structure looks like this:

<span style="font-weight: 400;">block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text   </span>  &nbsp;  <span style="font-weight: 400;"> block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text    </span>  &nbsp; 

After the import is complete, the structure looks like this:

<span style="font-weight: 400;"> block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text    </span>  <span style="font-weight: 400;"> block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text    </span> 

Javascript Loops – having trouble with calculations

import java.util.Scanner; import javax.swing.JOptionPane; public class Homework_Four {         static Scanner  scan = new Scanner(System.in); //declaring variables         private static String name,jOptionInput;         private static int menuChoice,quantity,totalQuantity=0;         private static double price=0,saleTax=0,totalAmount;                       public static void main(String[] args) {         javax.swing.SwingUtilities.invokeLater(new Runnable() {         public void run(){...
PHP:

Javascript Loops – having trouble with calculations