Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Extra slash and spade in html

    Somehow all my pages are getting " /" (space slash) added to the end of all my html tags.

    ie <p />

    When I look at the raw files in a text editor they do not appear but when they are parsed they do appear on the website, and are visible when viewing source code.

    How do I stop this from happening?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Extra slash and spade in html

    If you run your page url through a validator you will probably see these as missing tag terminators - in XHTML 1.0 Transitional each open must be closed before another open can exist so the browser is making the best guess out of your missed closing tags and adding them to make sense of this
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Extra slash and spade in html

    Can't really run it through a validator because its the items for sale, so there is nothing I can do about that. Seems to be every page so I dont think its anything I have done. I have used a validator for the url but unfortunately I cant save it.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Extra slash and spade in html

    Can't really run it through a validator because its the items for sale
    Just use the url to the item page
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Extra slash and spade in html

    Rightttt.

    Then what? There is no way to save the new html file to php

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Extra slash and spade in html

    Rightttt.

    Then what? There is no way to save the new html file to php
    No there is not be the errors are listed and these you can correct so that the pages parses correctly
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Extra slash and spade in html

    Quote Originally Posted by pixelpadre View Post
    Somehow all my pages are getting " /" (space slash) added to the end of all my html tags.

    ie <p />

    When I look at the raw files in a text editor they do not appear but when they are parsed they do appear on the website, and are visible when viewing source code.

    How do I stop this from happening?
    Who is your hosting company?
    What version of PHP is your server using?
    Does this affect *every* tag on the page, or just tags in product descriptions?
    What is the URL where this can be seen in action?
    What version of Zen Cart are you using?
    What addons/contributions have you installed?
    If you post a simple .php or .html page with basic content, what happens? Please create two files, entitled testslash.php and testslash.html, using the following content, and upload them to your server, and post a link to them:
    Code:
    <h1>testing my tags</h1>
    <p><strong>Bold area</strong> followed by regular text</p>
    <ul><li>bulleted list a<li>bulleted list b<li>bulleted list c</ul>
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Extra slash and spade in html

    Now we are talking!!!!!!

    I did what you suggested and the problem is still there. " />"

    website is scanmyid dot com and here is the link

    http://scanmyid dot com/idscanners/i...products_id=13

    Last edited by pixelpadre; 13 Jun 2007 at 05:21 PM. Reason: typo

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Extra slash and spade in html

    What are the links to these files?
    testslash.php and testslash.html

    And the answers to DrBytes additional questions?
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Extra slash and spade in html

    I don't know what you're talking about.

    If you're saying that you don't understand why there are slashes in the end of SOME tags, then perhaps you don't realize that certain tags use that method ("self-closing") as part of XHTML compliance.

    ie:
    <img src="includes/templates/template_default/buttons/english/button_sold_out.gif" alt="Sold Out" title=" Sold Out " width="78" height="78" />

    and

    <br class="clearBoth" />

    and

    <link rel="stylesheet" type="text/css" href="includes/templates/gloss_blue/css/stylesheet.css" />


    Those are normal.


    You started your first post talking about "p" tags having the self-closing format. I can't see any of those on your site. If you have an example of one, please post it.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Google Analytics adds extra slash
    By susb8383 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 23 Feb 2012, 03:02 PM
  2. Extra Forward Slash Before Links...
    By gaffettape in forum General Questions
    Replies: 5
    Last Post: 21 Aug 2010, 02:58 PM
  3. extra forward slash in url
    By urbanfarmer in forum General Questions
    Replies: 3
    Last Post: 16 Oct 2009, 03:50 PM
  4. What is the easiest way to add an extra sidebox and make some html pages in it?
    By hankliu in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Dec 2006, 10:48 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR