0

I have a web form where users submit resume info. Invariably, they copypaste from MS Word. I've got all the screwy characters fixed so that my client can see all the curly quotes and bullets and what-not, but I can't figure out how to preserve line-breaks.

tldr: is there a way to preserve line-breaks pasted from Word in a PHP mailer form?

(I've already suggested that we just allow .doc uploads of resumes but the client didn't go for it.)

Kara
  • 6,115
  • 16
  • 50
  • 57
plinkplink
  • 916
  • 1
  • 7
  • 10

1 Answers1

0

You could use TinyMCE and the paste plugin; enable pasteword option.

You can send text as an HTML message.

Otherwise look here.

Community
  • 1
  • 1
Fabio Mora
  • 5,339
  • 2
  • 20
  • 30