-1

He guys, can anyone tell me if there is a solution for words breaking "-", i dont want to cut words with "-", so it needs to get in the next line the entire word.

i have tried white-space: pre-wrap; but it does not work.

enter image description here

  • Have you looked at using the non breaking hyphen? https://stackoverflow.com/a/7691604/73226 – Martin Smith Apr 20 '21 at 01:59
  • @MartinSmith i dont undertand how to use it. it does not look like is working. –  Apr 20 '21 at 02:08
  • 1
    @MartinSmith never mind, investigating your suggesttion i found the solution, i used non-breaking hyphen ‑ and it worked perfectly. Thanks! –  Apr 20 '21 at 02:14

1 Answers1

1

Using the non-breaking hyphen ‑, worked for me.