coffee2code

Extra Sentence Space

Author:Scott Reilly
Version:1.0
Last update:14 April 2008
Compatibility:WP 1.5+, 2.0+, 2.1+, 2.2+, 2.3+ and 2.5+
Comments:go here
Download:[ zip ]
Description:
Force browsers to display two spaces between sentences.

Extended Description

Even though you may add two spaces after each sentence when writing a post (assuming you subscribe to a writing style that suggests such spacing) web browsers will collapse consecutive blank spaces into a single space when viewed. This plugin adds a   (non-breaking space) after sentence-ending punctuation to retain the appearance of your two-space intent.

NOTE: The plugin will only enforce the two-space gap in places where two or more spaces actually separate sentences in your posts.


Installation

Download the file extra-sentence-space.zip and unzip it into your wp-content/plugins/ directory. Activate the plugin through the ‘Plugins’ admin menu in WordPress. Begin (or continue) to use two spaces to separate your sentences when writing a post.

Frequently Asked Questions

Q: What text does this plugin modify (aka filter)?

A: This plugin potentially modifies the post content, excerpt, title, and comment text.

Q: Why do my sentences still appear to be separated by only one space despite the plugin being active?

A: Did you use two spaces to separate the sentences when you wrote the post? This plugin only retains the appearance of those two spaces when the post is viewed in a browser; it does not insert a second space if there wasn’t a second space originally present.


Release Log


Copyright & Disclaimer

Copyright © 2008 by Scott Reilly (aka coffee2code)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Acknowledgements

Thanks to all those who have contributed feedback and support!


You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser