Firefox also seems to display a hyphen, and then differently in other browsers. Here are some test codes that demonstrate the problem:
<html>
<body>
<div style="border: 1px solid blue;width: 50px">
This text can break. Do not - break this text.
</div>
</body>
</html>
Note that in Firefox, the second sentence will not break, but in Chrome and IE it breaks into a hyphen.
Does anyone know a good workaround so that the break does not occur?
source
share