Title: Automatic NBSP
Author: Damian Gora
Published: <strong>7 août 2013</strong>
Last modified: 11 avril 2019

---

Recherche d’extensions

![](https://ps.w.org/automatic-nbsp/assets/banner-772x250.jpg?rev=1226041)

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://ps.w.org/automatic-nbsp/assets/icon-256x256.png?rev=1226041)

# Automatic NBSP

 Par [Damian Gora](https://profiles.wordpress.org/webtroter/)

[Télécharger](https://downloads.wordpress.org/plugin/automatic-nbsp.1.5.4.zip)

 * [Détails](https://fr.wordpress.org/plugins/automatic-nbsp/#description)
 * [Avis](https://fr.wordpress.org/plugins/automatic-nbsp/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/automatic-nbsp/#installation)
 * [Développement](https://fr.wordpress.org/plugins/automatic-nbsp/#developers)

 [Support](https://wordpress.org/support/plugin/automatic-nbsp/)

## Description

**Prend en charge les règles typographiques en polonais et en tchèque**
 Déplace
les conjonctions, prépositions, etc. à la ligne. (sierotki)

**Prend en charge les signes de ponctuation en français**
 Ajoute un espace insécable`&
nbsp;` avant les signes de ponctuation comme `!`, `?`, `;`, `%`, `«`, `»`.

**Comment ça marche ?**
 L’extension ajoute automatiquement l’entité HTML `&nbsp;`(
espace insécable) après les mots ou phrases sélectionnés. Par exemple, «M. Personne»
doit être « M. Personne ». Fonctionne avec :

 * articles
 * titres
 * pages
 * types de publications personnalisés
 * commentaires
 * widgets
 * Contenus personnalisés

Vous pouvez créer votre propre liste de mots/phrases ou importer nos propositions.

**Contenu personnalisé**
 Vous pouvez utiliser la fonction `<?php auto_nbsp($content,
$echo);?>` pour ajouter `&nbsp;` au contenu personnalisé. Utilisez ceci dans votre
code. 1. Param `$content` – (chaîne) (obligatoire) Texte libre 2. Param `$echo` –(
booléen) (facultatif) true (écho), false (retour), par défaut: true

**Autres fonctionnalités :**
 * Advanced Custom Fields compatibility

Si vous avez des idées sur la manière dont Automatic NBSP pourrait être amélioré,
écrivez-nous.

## Installation

 1. Installez l’extension depuis le Tableau de bord ou téléversez le répertoire `automatic-
    nbsp` et tout son contenu dans le répertoire `/wp-content/plugins/`.
 2. Activez l’extension depuis le menu « Extensions » de WordPress.
 3. Allez dans Réglages -&gt ; Automatic NBSP et définissez vos préférences.
 4. Profitez des espaces insécables ajoutés automatiquement

## Avis

![](https://secure.gravatar.com/avatar/66ca63948ae72b5245943e32625be047ed415b27dc56c7d46915d39bde035169?
s=60&d=retro&r=g)

### 󠀁[Breaks code blocks](https://wordpress.org/support/topic/breaks-code-blocks/)󠁿

 [Radek Lat](https://profiles.wordpress.org/rala/) 10 juillet 2021

I was hunting for a mysteriously broken code block formatting, where some line breaks
were stripped away. It turned out this plug-in was the cause. Share it seems not
longer maintained. I would love to continue to use it.

![](https://secure.gravatar.com/avatar/9b3cae1a9f64b719a98122f59de0cfdc88fcc6b440fe3bd0f002acf38409c487?
s=60&d=retro&r=g)

### 󠀁[Good but could be better](https://wordpress.org/support/topic/good-but-could-be-better-29/)󠁿

 [melebius](https://profiles.wordpress.org/melebius/) 12 mars 2021

I installed this plugin mainly to auto-add non-breakable space after prepositions.
This works well. I also appreciate the easy settings page of this plugin. However,
there are many things which could be done better: The plugin page claims to cover
Czech but I can only choose between Polish and English vocabulary in the settings.
There is no information on whether the plugin kicks in when saving a post or rendering
it. I discovered it’s while rendering. This is good to fix older posts as well but
it might make each rendering a bit slower. A link to the plugin settings could be
shown on the Plugins page. The plugin only offers adding &nbsp; after the customizable
vocabulary words and before preset punctuation marks. I’d be glad if both lists 
were customizable. The plugin offers no way to automatically add &nbsp; in more 
complicated situations, e.g. after numbers, especially ordinal ones (the German 
or Czech way). And last but not least, the plugin should be tested with the latest
WordPress releases, although it’s doing well for me with WordPress 5.6.

![](https://secure.gravatar.com/avatar/989824b0e7508599671c7f979acc5f858c1a8313c0ae0e6a11a5d26bb3639805?
s=60&d=retro&r=g)

### 󠀁[Must have](https://wordpress.org/support/topic/must-have-529/)󠁿

 [Cyrille Sanson](https://profiles.wordpress.org/css31/) 2 août 2020

Hello, While WordPress is at version 5, I don’t understand why it is still necessary
to use a plugin to fix the problem of no break spaces before double height signs.
Fortunately Damian Gora developed Automatic NBSP and solved the problem. Many thanks
Damian for this great plugin, simple and efficient.

![](https://secure.gravatar.com/avatar/bdc157bf905f235aefec1875a48728a01f795402a293c5604d28f43a70ef6e28?
s=60&d=retro&r=g)

### 󠀁[Easy and perfect](https://wordpress.org/support/topic/easy-and-perfect-33/)󠁿

 [kuldaoo](https://profiles.wordpress.org/kuldaoo/) 13 mars 2020

No bloatware, ads, no useless fields. Simple a usefull. GREAT. thank you

![](https://secure.gravatar.com/avatar/3397165e70e93cf935eae7f8f3df8f071b98268c4033f45bf45f0047feb032c8?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work. Fix it or remove it.](https://wordpress.org/support/topic/doesnt-work-fix-it-or-remove-it/)󠁿

 [jasonbear](https://profiles.wordpress.org/jasonbear/) 18 août 2018

It does not work on Wordpress 4.9.8. The developer has not responded here in almost
2 years. Either fix this thing or remove it!

![](https://secure.gravatar.com/avatar/e8cf45c3ee5e4fa9c1039963a1d8deba04c1bd12582b38f42bb5856a2867d3bf?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-15093/)󠁿

 [Marek](https://profiles.wordpress.org/muti-wp/) 8 septembre 2017

I love to have good formated text! With this plugin it is possible 🙂 Thank you!

 [ Lire les 12 avis ](https://wordpress.org/support/plugin/automatic-nbsp/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« Automatic NBSP » est un logiciel libre. Les personnes suivantes ont contribué 
à cette extension.

Contributeurs

 *   [ Damian Gora ](https://profiles.wordpress.org/webtroter/)
 *   [ Damian Góra ](https://profiles.wordpress.org/damian-gora/)

[Traduisez « Automatic NBSP » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/automatic-nbsp)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/automatic-nbsp/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/automatic-nbsp/), ou 
s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/automatic-nbsp/)
par [RSS](https://plugins.trac.wordpress.org/log/automatic-nbsp/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 1.5.4, April 11, 2019

 * CHANGE: Nothing changed. Only version.

#### 1.5.3, November 25, 2016

 * FIX: special case for a mark `«` (by francois.massart)

#### 1.5.2, April 24, 2016

 * FIX: Escaping another special characters from phrases

#### 1.5.1, January 28, 2016

 * AJOUTÉ l’intégration avec l’extension « Advanced Custom Fields ».
 * SUPPRIMÉ Caractéristique problématique (garder les chiffres grouper).

#### 1.5

 * AJOUTER Garder les numéros groupés comme option
 * FIX Bug with words ending with a dot `.`

#### 1.4

 * FIX Bug with disappearing titles.

#### 1.3

 * ADD New function `auto_nbsp($content, $echo)` allows to add nbsp to the custom
   content. Use this in your code.
 * ADD `&nbsp;` before punctuation marks as `!` `?` `;` `%` `«` `»`

#### 1.2

 * Title is now supported.
 * Excerpt is now supported.
 * Comment text is now supported.
 * Widget text is now supported.
 * Phrases is now allowed.
 * Add case sensitive for words or phrases.
 * Add list of conjunctions and other phrases for the Polish and English language.
 * Fix mechanism for adding a &nbsp entitie.
 * Polish translation

#### 1.1

 * Fix bug compatibility wordpress 3.6.

#### 1.0

 * First version.

## Méta

 *  Version **1.5.4**
 *  Dernière mise à jour **il y a 7 ans**
 *  Installations actives **3 000+**
 *  Version de WordPress ** 3.0 ou plus **
 *  Testé jusqu’à **5.1.24**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/automatic-nbsp/)
 * Étiquettes
 * [line-break](https://fr.wordpress.org/plugins/tags/line-break/)[nbsp](https://fr.wordpress.org/plugins/tags/nbsp/)
   [non-breaking space](https://fr.wordpress.org/plugins/tags/non-breaking-space/)
   [Polish](https://fr.wordpress.org/plugins/tags/polish/)[typography](https://fr.wordpress.org/plugins/tags/typography/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/automatic-nbsp/advanced/)

## Évaluations

 4.2 sur 5 étoiles.

 *  [  10 avis à 5 étoiles     ](https://wordpress.org/support/plugin/automatic-nbsp/reviews/?filter=5)
 *  [  0 avis à 4 étoile     ](https://wordpress.org/support/plugin/automatic-nbsp/reviews/?filter=4)
 *  [  1 avis à 3 étoile     ](https://wordpress.org/support/plugin/automatic-nbsp/reviews/?filter=3)
 *  [  0 avis à 2 étoile     ](https://wordpress.org/support/plugin/automatic-nbsp/reviews/?filter=2)
 *  [  2 avis à 1 étoiles     ](https://wordpress.org/support/plugin/automatic-nbsp/reviews/?filter=1)

[Votre avis](https://wordpress.org/support/plugin/automatic-nbsp/reviews/#new-post)

[Tout voir](https://wordpress.org/support/plugin/automatic-nbsp/reviews/)

## Contributeurs

 *   [ Damian Gora ](https://profiles.wordpress.org/webtroter/)
 *   [ Damian Góra ](https://profiles.wordpress.org/damian-gora/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/automatic-nbsp/)