Title: Hairspaces Around Dashes
Author: James
Published: <strong>12 May 2022</strong>
Last modified: 25 May 2022

---

Search plugins

This plugin **hasn’t been tested with the latest three major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/hairspaces-around-dashes/assets/icon-256x256.png?rev=2722328)

# Hairspaces Around Dashes

 By [James](https://profiles.wordpress.org/golang/)

[Download](https://downloads.wordpress.org/plugin/hairspaces-around-dashes.1.0.5.zip)

 * [Details](https://en-gb.wordpress.org/plugins/hairspaces-around-dashes/#description)
 * [Reviews](https://en-gb.wordpress.org/plugins/hairspaces-around-dashes/#reviews)
 * [Development](https://en-gb.wordpress.org/plugins/hairspaces-around-dashes/#developers)

 [Support](https://wordpress.org/support/plugin/hairspaces-around-dashes/)

## Description

Dashes are punctuation marks that are commonly used in written text. A long dash(—)
is known as an em dash, whereas a short dash (–) is known as an en dash.

This plugin converts any whitespace around dashes into smaller hairspaces, to produce
a more elegant typographic effect.

Both em and en dashes are recognized.

Look at the following sentence, which uses dashes:

> I love this plugin — and everything about it — because it works so well.

When this plugin is activated, the sentence would appear like this (with smaller
spaces around the dashes):

> I love this plugin — and everything about it — because it works so well.

## Reviews

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

### 󠀁[Looks professional!](https://wordpress.org/support/topic/looks-professional-3/)󠁿

 [Joey Carney](https://profiles.wordpress.org/damnjoe/) 21 May 2023

Hairspace are a really common solution in book and magazine editing for em dashes,
that can be hard to read without spaces, and too long and awkward with the spaces.
But on the web, there isn't a good solution as those spaces can help with justification.
I tested on my website, and it works well without any issues. Thank you for developing
this—more people should use it.

 [ Read all 1 review ](https://wordpress.org/support/plugin/hairspaces-around-dashes/reviews/)

## Contributors and Developers

“Hairspaces Around Dashes” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ James ](https://profiles.wordpress.org/golang/)

[Translate “Hairspaces Around Dashes” into your language.](https://translate.wordpress.org/projects/wp-plugins/hairspaces-around-dashes)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/hairspaces-around-dashes/),
check out the [SVN repository](https://plugins.svn.wordpress.org/hairspaces-around-dashes/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/hairspaces-around-dashes/)
by [RSS](https://plugins.trac.wordpress.org/log/hairspaces-around-dashes/?limit=100&mode=stop_on_copy&format=rss).

## Change Log

#### 1.0.5

 * Tested plugin with WordPress 6.0

#### 1.0.4

 * Create event-handling function for internal code.
 * Add extra tag.

#### 1.0.3

 * Eat all surrounding whitespace, not just the nearest character.

#### 1.0.2

 * Fix formatting error in readme.

#### 1.0.1

 * Minor edits to internal code.
 * Changelog created.

#### 1.0.0

 * First version.

## Meta

 *  Version **1.0.5**
 *  Last updated **4 years ago**
 *  Active installations **Fewer than 10**
 *  Tested up to **6.0.17**
 *  Language
 * [English (US)](https://wordpress.org/plugins/hairspaces-around-dashes/)
 * Tags
 * [dash](https://en-gb.wordpress.org/plugins/tags/dash/)[punctuation](https://en-gb.wordpress.org/plugins/tags/punctuation/)
   [space](https://en-gb.wordpress.org/plugins/tags/space/)[whitespace](https://en-gb.wordpress.org/plugins/tags/whitespace/)
 *  [Advanced View](https://en-gb.wordpress.org/plugins/hairspaces-around-dashes/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/hairspaces-around-dashes/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/hairspaces-around-dashes/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/hairspaces-around-dashes/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/hairspaces-around-dashes/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/hairspaces-around-dashes/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/hairspaces-around-dashes/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/hairspaces-around-dashes/reviews/)

## Contributors

 *   [ James ](https://profiles.wordpress.org/golang/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/hairspaces-around-dashes/)