4 ms·
The simplest thing would be to insert WBR tags every so often. Could be a small performance hit, so I'd do it on write. In Ruby, this would be: content.gsub(
by fizx 18y ago
The simplest thing would be to insert WBR tags every so often. Could be a small performance hit, so I'd do it on write. In Ruby, this would be:
content.gsub(/\S{40}/, '\0<wbr>')