{"id":1457,"date":"2011-09-23T14:12:09","date_gmt":"2011-09-23T14:12:09","guid":{"rendered":"http:\/\/salientsoft.co.uk\/?p=1457"},"modified":"2011-09-23T14:13:16","modified_gmt":"2011-09-23T14:13:16","slug":"using-non-blocking-spaces-in-xhtml","status":"publish","type":"post","link":"https:\/\/salientsoft.co.uk\/?p=1457","title":{"rendered":"Using Non-blocking spaces in xhtml"},"content":{"rendered":"<p>Occasionally this is useful \u2013 I had to do this when I wanted to adjust the spacing in a Primefaces p:dialog header. The header text can only be set via an attribute which does not allow any markup to be used (a header facet is not currently available for a p:dialog).<\/p>\n<p>The old <strong>&amp;nbsp;<\/strong> entity does not work in xhtml as it is deprecated.<\/p>\n<p>The solution is to use the Unicode equivalent directly, which is <strong>&amp;#160;<\/strong><\/p>\n<p>My previous related post about using Unicode characters in HTML may be found <a href=\"http:\/\/salientsoft.co.uk\/?p=668\"><strong>here<\/strong><\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Occasionally this is useful \u2013 I had to do this when I wanted to adjust the spacing in a Primefaces p:dialog header. The header text can only be set via an attribute which does not allow any markup to be used (a header facet is not currently available for a p:dialog). The old &amp;nbsp; entity [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[82],"tags":[40,78,16,188],"_links":{"self":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1457"}],"collection":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1457"}],"version-history":[{"count":1,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1457\/revisions"}],"predecessor-version":[{"id":1458,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1457\/revisions\/1458"}],"wp:attachment":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}