<!DOCTYPE html>
<html>
<head>
<style>
p {
	width: 300px;
	border: solid 2px;
}
</style>
</head>
<body>

<p>
12
3
</p>

<p style="white-space: nowrap">
12
3
fsd
dsfds
 sdfdsdfds
<span style="background: yellow;">
 f       sdfds fsd fds fsd fds fds fsd ffds fsd fds fsd fds fds fsd ffds fsd fds fsd fds fds fsd ffds fsd fds fsd fds fds fsd ffds fsd fds fsd fds fds fsd fds fds
</span>
</p>

<p style="white-space: pre">
12
3
fsd
dsfds
 sdfdsdfds
<span style="background: yellow;">
 f sdfds       fsd fds fsd fds fd