{"id":6289,"date":"2009-07-29T12:14:05","date_gmt":"2009-07-29T12:14:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/post-typographer\/"},"modified":"2017-12-05T11:52:16","modified_gmt":"2017-12-05T11:52:16","slug":"post-typographer","status":"publish","type":"plugin","link":"https:\/\/da.wordpress.org\/plugins\/post-typographer\/","author":478658,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"12","stable_tag":"trunk","tested":"4.9.29","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"Post Typographer","header_author":"Andriy Moraru","header_description":"","assets_banners_color":"","last_updated":"2017-12-05 11:52:16","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/post-typographer\/","header_author_uri":"https:\/\/www.earnforex.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":4332,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1","10","11","2","3","4","5","6","7","8","9"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1975,86,166,5126],"plugin_category":[43,46],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-6289","plugin","type-plugin","status-publish","hentry","plugin_tags-formatting","plugin_tags-post","plugin_tags-posts","plugin_tags-typography","plugin_category-customization","plugin_category-editor-and-writing","plugin_committers-enivid"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/post-typographer.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>When you publish a post or update an already published post, this plugin will format the post's content to certain typographic rules:<\/p>\n\n<ol>\n<li><p>All hyphens between two words (surrounded by spaces) will be transformed to m-dashes with the non-breaking spaces ahead of them.<\/p><\/li>\n<li><p>All hyphens between digits (without spaces) will be transformed to n-dashes. But it tries to preserve phone numbers.<\/p><\/li>\n<li><p>All spaces following these words will be replaced with the non-breaking spaces:<\/p>\n\n<ul>\n<li>at<\/li>\n<li>or <\/li>\n<li>and<\/li>\n<li>the<\/li>\n<li>a<\/li>\n<li>an<\/li>\n<li>in<\/li>\n<li>on<\/li>\n<li>of<\/li>\n<li>for<\/li>\n<li>to<\/li>\n<li>as<\/li>\n<li>i<\/li>\n<li>or<\/li>\n<li>my<\/li>\n<\/ul><\/li>\n<li><p>Double and more spaces are replaced with the single ones.<\/p><\/li>\n<li><p>All misplaced spaces near dots, colons, semicolons, exclamation marks and question marks are fixed, where possible.<\/p><\/li>\n<li><p>Composed words with hyphens in them (e.g. <em>easy-to-use<\/em>) will be wrapped in <code>&lt;nobr&gt;&lt;\/nobr&gt;<\/code> tags.<\/p><\/li>\n<li><p><code>&lt;pre&gt;&lt;\/pre&gt;<\/code> tag and its contents are preserved.<\/p><\/li>\n<\/ol>\n\n<h4>Problems:<\/h4>\n\n<ol>\n<li><p>The plugin <strong>will not<\/strong> mess with the HTML tags or other mark-up tags delimited with &lt; and &gt;. It <strong>will<\/strong> mess with the Javascript code and such constructions as:<\/p>\n\n<pre><code>    [code]\n    bla bla bla\n    [\/code]\n<\/code><\/pre>\n\n<p>Though, since version 6, the mess is minimized for [code] and [video] tags.<\/p><\/li>\n<li><p>The n-dash thing will mess up with the phone numbers that have only one hyphen in them. They will be confused with the value ranges.<\/p><\/li>\n<\/ol>\n\n<h3>Thanks to<\/h3>\n\n<p><a href=\"https:\/\/www.artlebedev.ru\/typograf\/\">Typograf by Artemy Lebedev<\/a><\/p>\n\n<!--section=installation-->\n<h4>From your WordPress dashboard<\/h4>\n\n<ol>\n<li>Visit \u2018Plugins &gt; Add New\u2019<\/li>\n<li>Search for \u2018Post Typographer\u2019<\/li>\n<li>Activate Post Typographer from your Plugins page.<\/li>\n<\/ol>\n\n<h4>From WordPress.org<\/h4>\n\n<ol>\n<li>Download Post Typographer.<\/li>\n<li>Upload the \u2018post-typographer\u2019 directory to your \u2018\/wp-content\/plugins\/\u2019 directory.<\/li>\n<li>Activate Post Typographer from your Plugins page.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>12<\/h4>\n\n<ul>\n<li>Fixed: Will no longer mess with the contents of the [pmath] shortcodes.<\/li>\n<\/ul>\n\n<h4>11<\/h4>\n\n<ul>\n<li>Fixed: Replaced numeric HTML entities with literal ones.<\/li>\n<li>Fixed: Minor formatting and grammar error issues.<\/li>\n<\/ul>\n\n<h4>10<\/h4>\n\n<ul>\n<li>Fixed: Contents of <code>&lt;pre&gt;&lt;\/pre&gt;<\/code> tag aren't messed up with typographing.<\/li>\n<\/ul>\n\n<h4>9<\/h4>\n\n<ul>\n<li>Fixed: No longer removes backslashes from posts.<\/li>\n<li>Fixed: Tries not to mess with the files' extensions (like .txt).<\/li>\n<\/ul>\n\n<h4>8<\/h4>\n\n<ul>\n<li>Added: Tries to remove unneeded spaces before colons and semicolons without messing with the smiles.<\/li>\n<li>Added: Word 'by' included to the list of words for <code>&amp;nbsp;<\/code> after them.<\/li>\n<\/ul>\n\n<h4>7<\/h4>\n\n<ul>\n<li>Fixed: No longer removes spaces before colons and semicolons - not to mess with the smiles.<\/li>\n<\/ul>\n\n<h4>6<\/h4>\n\n<ul>\n<li>Fixed: Double (and more) wrapping with the <code>&lt;nobr&gt;<\/code> tags.<\/li>\n<li>Fixed: <code>&lt;nobr&gt;<\/code> wrapping and some other formatting in the [code] and [video] embedded text.<\/li>\n<\/ul>\n\n<h4>5<\/h4>\n\n<ul>\n<li>Added: Wrapping the composed words with hyphens with <code>&lt;nobr&gt;<\/code> tags.<\/li>\n<\/ul>\n\n<h4>4<\/h4>\n\n<ul>\n<li>Fixed: Nasty double-space bug on post-updating.<\/li>\n<li>Fixed: M-dash placement didn't work in version 3.<\/li>\n<li>Fixed: N-dashes are now placed correctly even if the value ranges are near the beginning or the end of the text.<\/li>\n<\/ul>\n\n<h4>3<\/h4>\n\n<ul>\n<li>Added: Replaces misplaced spaces near punctuation marks.<\/li>\n<li>Fixed: Phone numbers and dates are now avoided (except single-hyphen phone numbers) when the hyphens in the value ranges are transformed into n-dashes.<\/li>\n<\/ul>\n\n<h4>2<\/h4>\n\n<ul>\n<li>Added: Replaces 2 or more spaces with a single space in the text.<\/li>\n<li>Added: Word 'my' included to the list of words for <code>&amp;nbsp;<\/code> after them.<\/li>\n<\/ul>\n\n<h4>1<\/h4>\n\n<ul>\n<li>The first working version.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><h4>From your WordPress dashboard<\/h4>\n\n<ol>\n<li>Visit \u2018Plugins &gt; Add New\u2019<\/li>\n<li>Search for \u2018Post Typographer\u2019<\/li>\n<li>Activate Post Typographer from your Plugins page.<\/li>\n<\/ol>\n\n<h4>From WordPress.org<\/h4>\n\n<ol>\n<li>Download Post Typographer.<\/li>\n<li>Upload the \u2018post-typographer\u2019 directory to your \u2018\/wp-content\/plugins\/\u2019 directory.<\/li>\n<li>Activate Post Typographer from your Plugins page.<\/li>\n<\/ol><\/dd>\n\n<\/dl>","raw_excerpt":"Adds non-breaking spaces, `` tags, common spaces, tags and dashes where needed. Works with English texts only.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/6289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=6289"}],"author":[{"embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/enivid"}],"wp:attachment":[{"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=6289"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=6289"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=6289"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=6289"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=6289"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/da.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=6289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}