Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What would happen if...


Guest

Recommended Posts

I did an MSAR (Massive Search And Replace) on the   entity and replaced it with an empty space.

 

Would I break a lot of the osC formatting? There's seems to be a lot of non-breaking spaces intersparsed throughout the osC programming.

Link to comment
Share on other sites

The   character does several things:

 

1. Forces two things touched by it to be *stuck* together. Great for locking words or numbers/words together. Example: November 3, 1955 this will never allow that text to break on two lines.

 

2. Forces more than one space to appear as two spaces made by a spacebar are 1 space in HTML (try 10 spacebars and note you get 1 space on screen)

 

Hence ... global replace is a bad idea ... 8)

Link to comment
Share on other sites

Well, I know what it does HTML-wise. I'm trying to figure out what would happen if I did it to the osC code.

 

What might be broken?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...