nbsp modifier
1Presentation
This Smarty modifier transforms a string so that certain spaces are replaced by non-breaking spaces.
2Usage
Here is an example:
<h1>{$title|escape|nbsp}</h1>
3Examples
{'Question ?'|nbsp} {* 'Question ?' *}
{'Answer !'|nbsp} {* 'Answer !' *}
{'Item : value'|nbsp} {* 'Item : value' *}
{'aaa ; bbb'|nbsp} {* 'aaa ; bbb' *}
{'aa - bb − cc + dd'|nbsp} {* 'aa - bb − cc + dd' *}
{'dd × ee ÷ ff'|nbsp} {* 'dd × ee ÷ ff' *}
{'3 € 10 %'|nbsp} {* '3 € 10 %' *}
{'« aa bb » “ cc dd ”'|nbsp} {* '« aa bb » “ cc dd ”' *}