Fix textarea code adding erroneous spaces into data