{"id":24653,"date":"2013-08-07T20:47:14","date_gmt":"2013-08-07T20:47:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/automatic-nbsp\/"},"modified":"2019-04-11T14:29:47","modified_gmt":"2019-04-11T14:29:47","slug":"automatic-nbsp","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/automatic-nbsp\/","author":12899684,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.5.4","stable_tag":"1.5.4","tested":"5.1.22","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Automatic NBSP","header_author":"Damian G\u00f3ra","header_description":"","assets_banners_color":"dddede","last_updated":"2019-04-11 14:29:47","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/damiangora.com","rating":4.3,"author_block_rating":0,"active_installs":3000,"downloads":14309,"num_ratings":12,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":2,"2":0,"3":0,"4":0,"5":10},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1226041","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1226041","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1226041","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.5.1","1.5.2","1.5.3","1.5.4"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[9814,9812,9813,1370,5126],"plugin_category":[43],"plugin_contributors":[83241],"plugin_business_model":[],"class_list":["post-24653","plugin","type-plugin","status-publish","hentry","plugin_tags-line-break","plugin_tags-nbsp","plugin_tags-non-breaking-space","plugin_tags-polish","plugin_tags-typography","plugin_category-customization","plugin_contributors-damian-gora","plugin_committers-damian-gora","plugin_committers-webtroter"],"banners":{"banner":"https:\/\/ps.w.org\/automatic-nbsp\/assets\/banner-772x250.jpg?rev=1226041","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/automatic-nbsp\/assets\/icon-128x128.png?rev=1226041","icon_2x":"https:\/\/ps.w.org\/automatic-nbsp\/assets\/icon-256x256.png?rev=1226041","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Support typographic rules in Polish and Czech<\/strong>\nMoves conjunctions, prepositions, etc. to the new line. ( sierotki )<\/p>\n\n<p><strong>Support punctuation marks in French<\/strong>\nAdds a non-breaking space <code>&amp;nbsp;<\/code> before punctuation marks as <code>!<\/code> <code>?<\/code> <code>;<\/code> <code>%<\/code> <code>\u00ab<\/code> <code>\u00bb<\/code><\/p>\n\n<p><strong>How it works?<\/strong>\nThe plugin automatically adds HTML entity <code>&amp;nbsp;<\/code> ( non-breaking space ) after selected words or phrases. E.g. 'Mr. Someone' should be 'Mr.<code>&amp;nbsp;<\/code>Someone'. Works with:<\/p>\n\n<ul>\n<li>posts<\/li>\n<li>titles<\/li>\n<li>pages<\/li>\n<li>custom post types<\/li>\n<li>comments<\/li>\n<li>widgets<\/li>\n<li>custom contents<\/li>\n<\/ul>\n\n<p>You can create your own list of words\/phrases or import our proposals.<\/p>\n\n<p><strong>Custom contents<\/strong>\nYou can use the function <code>&lt;?php auto_nbsp($content, $echo); ?&gt;<\/code> to add <code>&amp;nbsp;<\/code> to the custom content. Use this in your code.\n1. Param <code>$content<\/code> - (string) (required) Free text\n2. Param <code>$echo<\/code> - (bool) (optional) true (echo), false (return), Default: true<\/p>\n\n<p><strong>Other features:<\/strong>\n*  Advanced Custom Fields compatibility<\/p>\n\n<p>If you have any ideas for how Automatic NBSP could be improved, you write to us.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin from within the Dashboard or upload the directory <code>automatic-nbsp<\/code> and all its contents to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to Settings -&gt; Automatic NBSP and set your preferences.<\/li>\n<li>Enjoy automatically added non-breaking spaces<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.5.4, April 11, 2019<\/h4>\n\n<ul>\n<li>CHANGE: Nothing changed. Only version.<\/li>\n<\/ul>\n\n<h4>1.5.3, November 25, 2016<\/h4>\n\n<ul>\n<li>FIX: special case for a mark <code>\u00ab<\/code> (by francois.massart)<\/li>\n<\/ul>\n\n<h4>1.5.2, April 24, 2016<\/h4>\n\n<ul>\n<li>FIX: Escaping another special characters from phrases<\/li>\n<\/ul>\n\n<h4>1.5.1, January 28, 2016<\/h4>\n\n<ul>\n<li>ADD Integration with the Advanced Custom Fields plugin.<\/li>\n<li>DEL Problematic feature (keep numbers together).<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>ADD Keep numbers together as option<\/li>\n<li>FIX Bug with words ending with a dot <code>.<\/code><\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>FIX Bug with disappearing titles.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>ADD New function <code>auto_nbsp($content, $echo)<\/code> allows to add nbsp to the custom content. Use this in your code.<\/li>\n<li>ADD <code>&amp;nbsp;<\/code> before punctuation marks as <code>!<\/code> <code>?<\/code> <code>;<\/code> <code>%<\/code> <code>\u00ab<\/code> <code>\u00bb<\/code><\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Title is now supported.<\/li>\n<li>Excerpt is now supported.<\/li>\n<li>Comment text is now supported.<\/li>\n<li>Widget text is now supported.<\/li>\n<li>Phrases is now allowed.<\/li>\n<li>Add case sensitive for words or phrases.<\/li>\n<li>Add list of conjunctions and other phrases for the Polish and English language.<\/li>\n<li>Fix mechanism for adding a &amp;nbsp entitie.<\/li>\n<li>Polish translation<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fix bug compatibility wordpress 3.6.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First version.<\/li>\n<\/ul>","raw_excerpt":"Automatically adds a non-breaking space (&amp;nbsp) in the content.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/24653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=24653"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/webtroter"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=24653"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=24653"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=24653"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=24653"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=24653"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=24653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}