Contact: Web / Voice / Email / Tips
Simple Thoughts Blog - Java and Web Technologies

Simple solutions for complex problems.

 

How To Add Double Dash To WordPress Posts

May 27th, 2007 by Angsuman Chakraborty

WordPress has the nasty habit, thanks to numerous filters, of converting two consecutive - to different ascii characters. This causes big problem for code fragments where people often tend to cut and paste the displayed code from browsers.

Here is how you can display two consecutive dash (minus sign) in WordPress posts and pages, like --, without any problem:
Use - instead of directly writing a -. So two successive dashes should be written as: --


Tags: Browser, How To, Pro Blogging, Programming, Tech Note, Web, Web 2.0, Web Services, WordPress | | RSS 2.0 | Trackback this Article | Email this Article

You may also like to read

»How To Add Double-Dash / Hyphen in WordPress
»How To Add Single Quotes In WordPress Posts
»Next Generation WordPress Theme Design - Giraffe
»Error of Spam Protection by Restricting Comments on Old Posts
»How To Use AdRotator Within Your WordPress Post / Page
»Stats: Over 55.5 Million Pages Powered By WordPress...
»WordPress: How To Create Multiple Paged Articles
»How To Escape Column Names in HSQLDB RDBMS
»WordPress Tip on Permalink Options
»How To Display Blog Statistics Like This Blog?
»WordPress Plugin for Permanent Redirection of Posts - Angsuman's Permanent Redirector Plugin
»How to post dynamic content ( using php ) on WordPress Blogs + Know your IP Address
»WordPress: How To Automatically Create Post Excerpt / Summary
»WordPress (Blogging Software) Version 2.1 Released
»What Is The Optimum Number Of Posts In Blog Home Page?

Looking forward to hear your thoughts.



Please enter the code shown below ( to verify that you are human ) before you click Submit Comment.

No. 1 method to ethically increase your blog traffic and reach.

Translate

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanPřeložit do Čech/CzechOversætte hen til Dansk/DanishKääntää jotta Finnish/FinnishLefordít -hoz Magyar/HungarianÞýða til Íslenska/IcelandicTraducir a Latinoamericano Español/Latin American Spanishtagapagsalin sa Filipino/FilipinoTłumaczyć wobec Polski/PolishA traduce la spre Român/RomanianPrevesti za Srpski/Serbiantolmačiti v slovenski/SlovenianÖversätta till Svensk/SwedishChyfieitha at Cymraeg/Welshtercüme etmek -e doğru Türk/TurkishPrevesti to Hrvatski/CroatianПревеждам към Българин/BulgarianTraduzca al Español/SpanishTraduisez au Français/FrenchTraduca ad Italiano/ItalianTraduza ao Português/Portuguese日本語に翻訳しなさい /Japanese한국어에게 번역하십시오/Korean中文翻译/Chinese Simplifiedترجمة الى العربية/ArabicVertaal aan het Nederlands/DutchΜεταφράστε στα ελληνικά/GreekПереведите к русскому/RussianOversetter til Norsk/Norwegian中文翻译/Chinese TraditionalTraduzir a Língua portuguesa brasileira/Brazilian PortugueseReddo ut Latin/Latin

Taragana Network

»Ctrl-S
»Enterprise Blog
»Free Book on Eye Care by Natural Therapy
»Health Care Blog
»Hot Computer Jobs Blog
»Pet Care & Grooming News and Tips
»Phil Law Blog
»Taragana - Software Outsourcing
»The Angsuman Chakraborty Blog
»The Diabetes Cure Blog
»The Eye Treatment Blog
»The Stem Cell Blog
»Weblog Hosting Blog
"Science without religion is lame. Religion without science is blind." - Albert Einstein