Change line break characters in HTML

In Firefox a // breaks the line, but in chrome the line continues. How can I say chrome to allow line break '/'?

This is a problem for the middle table on

http://webnumbr.com/api

+3
source share
2 answers

You can surround '/' with space characters in Unicode Zero-Width encoding. (For links, do not do this for hrefs)

See here: http://www.fileformat.info/info/unicode/char/200b/index.htm

+4
source

Use the wrap word CSS property:

word-wrap: break-word

Do not use special characters to break words.

+1
source

Source: https://habr.com/ru/post/1730455/


All Articles