Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

All my breaks were removed


gotboost350z

Recommended Posts

Posted

i was loading parts, an i noticed on my older stuff the <br/> were gone what would cause this and how can i stop it from happening,

i asked a OSC developer to see if i was hacked he said no i wasn't so im at a loss i need to know how to stop this from happening again

 

thanks.

Posted

Eric,

 

Unfortunately with the little information you provided, we will have NO IDEA what you are talking about. Perhaps you could explain better ?

 

 

 

Chris

Posted

Eric,

 

Unfortunately with the little information you provided, we will have NO IDEA what you are talking about. Perhaps you could explain better ?

 

 

 

Chris

 

i put line breaks on my item info to separate information about the product thats all, then i just lost them

Posted

i put line breaks on my item info to separate information about the product thats all, then i just lost them

Try using <BR> instead of <br/>

 

I have never lost anything using <BR> but have never used <br/>. Don't know off hand what would cause it.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

Eric,

 

Ok, you mean in the product description area.

 

The CORRECT use is <br />. However, <br> is still accepted and is still cross browser compatible (for now). Have you added any character stripping contributions lately ? Are you using an editor for your descriptions ?

 

 

 

Chris

Posted

As Chris mentioned the proper format is <br />, notice the space between the r and the forward slash /.

 

I have used both <br> and <br /> with no problems.

 

The only problem you will run into is trying to validate (W3C) your version of osC.

 

It does not like the <br /> tag with the DOCTYPE. So I've been sticking with just <br>.

 

wink.gif

- :: Jim :: -

- My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -

Posted

Most browsers accept <br>, <br/>, and <br />. The latter two are the XHTML self-closing tag version, and should preferably be used only when the DOCTYPE declares XHTML usage, while the first is old fashioned HTML. When the OP says that "the breaks were removed", are they gone from the page source (do a View > Page source), are they disabled (<br/>), or something else? Were they in your product description text? I don't think standard osC has anything to remove or "sanitize" HTML tags in there -- what have you added?

Posted

i haven't added anything an the <br/> works just fine i haven't had a problem with it. i just used my last back up sucks but oh well. jus not sure what would strip the <br/>

Archived

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

×
×
  • Create New...