Browse the Ruby on Rails Community.

You are here: Forums Ask a Rails expert How to Prevent double space be...

Replytotopic

How to Prevent double space being converted into "  " fckeditor

Posted in Forums : Ask a Rails expert

 
Profile

Authority 12
Posting Rating 98
Sign in to rate this post

HI ,
Am using fckeditor.whwn am entering spaces double time between chars its converting to ’ ’
Example:
str = “wel come”
i have enteres 2 spaces between wel and come
Resulting output is : wel  come
Its giving length is 10 but actual legth should be 9.

Can anybody help that how prevent double space being converted into ”  ” fckeditor.

Replytotopic

Other Recent Topics

Ask a Rails expert : nested application ApplicationController get called intead of children::ApplicationController

Ask a Rails expert : Best way to structure a database for a large/static dataset

Ask a Rails expert : Ruby Developer (ROR) - Scottish based (Remote working from within the UK)

Ask a Rails expert : Above Ground Pool Supplies

Ask a Rails expert : How to get url params in observer or model in Rails 3.1

Ask a Rails expert : What can persuade you to hire Junior Ruby devs with significant PHP experience?

Ask a Rails expert : What industry value does the Ruby or Rails Certification currently have?

Ask a Rails expert : Louis Vuitton Damier Azur Canvas specially sale ( www.salecheaplouisvuitton.com )

Ask a Rails expert : ·How to check errors/puts statements from ruby files which are under cronob

Ask a Rails expert : Louis Vuitton cheap Soft Sided Luggagespecial offer( www.salecheaplouisvuitton.com )

Formatting Help
  • *bold*       _italics_      
    bq. (quotes)
  • "DSC":http://www.dsc.net
  • * or # (lists)
or cancel