如何在“?”之前不换行?

Sul*_*lot 0 html css word-wrap

我是法国人。法语中,问号“?”前后必须有空格。但是,根据屏幕的大小,有时会出现“?”。下一行在线。如何防止这种丑陋的显示?

\n\n

我无法在问题中添加标签,因为它们是绑定的。

\n\n
<div class="row">\n    <div class="col-md-8 col-md-offset-2">\n        <div class="errorbox text-left">\n            <p></p>\n            <ul>\n                <li>Question 1 ? </li>\n                <li>Question 2 ? </li>\n                <li>Question 3 ? </li>\n            </ul>\n        </div>\n    </div>\n</div>\n
Run Code Online (Sandbox Code Playgroud)\n\n

谢谢,

\n\n

St\xc3\xa9phane。

\n

ssn*_*ake 5

使用&nbsp;或尝试使用CSSwhite-space: nowrap;

<li>Question&nbsp;1&nbsp;? </li>
<li>Question&nbsp;2&nbsp;? </li>
<li>Question&nbsp;3&nbsp;? </li>
Run Code Online (Sandbox Code Playgroud)