• Or atleast somehow keep the edit page tab to html. Is there any way to stop wrecking my code? It keeps changing things like proper xhtml tags and changing <b> to the messy < strong > (Which is the same, but I dislike and messes with my css that I’m not keen to bother switching)

    Why does it do this anyways? I can understand modifying when writing in the “Visual” form, but it even often adds ending paragraph tags when it shouldn’t

Viewing 7 replies - 1 through 7 (of 7 total)
  • <b> is not XHTML. The correct XHTML markup is <strong>. What other “proper xhtml tags” do you think it is changing?

    Thread Starter shiverwarp

    (@shiverwarp)

    <b> and < strong > are exactly the same.

    And sorry, didn’t realize this actually takes code, so what I mean to say there was it’s changing line breaks from < br / > into just < br > which wrecks my validation, which was also how I found the problem with it adding an extra closing paragraph tag for no particular reason between a div

    <b> and <strong> are exactly the same.

    No they’re not! <b> is purely visual, has no semantic value and was deprecated under HTML 4.01. In comparison, <strong> has semantic value that extends well beyond the visual – hence its inclusion in the XHTML 1.0 DTDs.

    I’ve not come across any issues with invalid line break markup myself. (that said, I work almost exclusively in the HTML tab) and rarely bother to insert paragraph and line break markup myself as I’ve found that WordPress does a pretty good job 90% of the time. On the odd occasion where I’m hand-coding a block of content, I’ve sometimes had to remove physical line breaks to stop WP parsing a \n as <br /> but that’s about the sum of the problems I’ve encountered. And as you might have gathered, I’m something of a markup purist and an obsessional validator, so if there was a major problem, I would have thought I’d have seen it before now.

    One thought does occur to me. Are you switching between the Visual and HTML tabs at all? I have heard that this can cause problems sometimes.

    Thread Starter shiverwarp

    (@shiverwarp)

    I didn’t switch between them when I noticed the problems other than the <strong> thing when switching back and forth. And from a quick search for <b> and <strong> and xhtml in google, from what I’ve seen they’re the same. It doesn’t matter though, for all intents and purposes b is what I’ve been using and what the person who actually developed my site used, and I’m not fond of going through and changing them all when it’s completely unnecessary.

    Just now while adding a paypal donate button a <br /> was added into the encrypt code for no apparent reason.

    I work within the html area aswell, but sometimes it reverts back to the visual tab when I visit again, which messes everything up once more.

    Thread Starter shiverwarp

    (@shiverwarp)

    This time a was added within the code for some reason… here’s my page code, sorry it’s a bit messy atm:

    <blockquote>
    <div id="right">
    <h1 class="top">Server Information - The Melon Keg</h1>
          Welcome to the Melon Pit!
          The server is run by the Uber Melon clan. Watch for our clan tags! uberMelon ° for the competition team and Melon ° for community members.  The Melon Keg is the clan fun server, where you'll find custom maps, custom mods, and other fun things like Melon Events! So ttay tuned to the News and Updates portion of the website for upcoming events.  Visit the <a href="https://ubermelons.com/forums/" target="_blank">forums</a> if you wish to apply for the clan or leave some feedback.
    
    The Melon Keg is payed for by your donations, so please, help the server stay alive and donate:
    <div><center><form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick"/>
    <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHLwYJKoZIhvcNAQcEoIIHIDCCBxwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBWfasB/L7utwWJCXagziP6zvXc60kVXUq9qo52cYc9BwgGcIvVbFQKC3YSx2y9gdhOng2807cGcKkoNYJnd5y/tY05XX2u4wJFZTOKDYAeySyKfDMVA2jbq+g6CFipGI+SW0mzgz4naIe/UwwpziTe45wYqxvCbJmCZ9a1pmcaAjELMAkGBSsOAwIaBQAwgawGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQILaML6L+VWKWAgYg3KRvcW3qRdvBb2yHnd/Q9SphIPuwjWcleqWt/pOljQOqt4A2zMncvaZFJGe3/L/4AEpL4YIQaYv32UmKX65uhbc/VfAePzj/sWiSU1h0PxtaQLrN17+EkgZQk5Tvbuf1vGxXvAToKAkwBskG3gK2BNdPy5JIyv1gMQfqH+V3vKR8G+ykF1Ot1oIID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OBakTr3YCDjbYfvJEiv/2P+IobhOGJr85+XHhN0v4gUkEDI8r2/rNk1m0GA8HKddvTjyGw/XqXa+LSTlDYkqI8OwR8GEYj4efEtcRpRYBxV8KxAW93YDWzFGvruKnnLbDAF6VR5w/cCMn5hzGCAZowggGWAgEBMIGUMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDkwNTIwMjMwMDQ1WjAjBgkqhkiG9w0BCQQxFgQUCx4tE9FsgMCPEk6K6QA3RvYyS1YwDQYJKoZIhvcNAQEBBQAEgYB7CloBdWcModknNQjWFOUlAJSAegHUShfT0ETN/AYGXFW6f/ezr5yiVf/crMXsbgxklSG8QHK2MPUGjpjdaqpB2x8JGudWZCNRynVR3PxnLRf/vc6gD0P4sauKOZgq+luAC6FvumRJdfb7t6pNi9ZgkUxGcxIeXWq2Wl+c9KepjA==-----END PKCS7-----"/>
    <input type="image" src="https://www.ubermelons.com/images/MelonKegDonate.png" name="submit" alt="PayPal - The safer, easier way to pay online!"/>
    <img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"/>
    </form></center></div>
    
          <b>Server Specifications
          </b>The Melon Keg server is professionally hosted by DarkStar Communications at their data center located in Chicago, Illinois. The server runs the following configuration:
    
    <ul style="list-style-type:disc;">
    <li>66 Tick</li>
    <li>250 FPS</li>
    <li>32 Player Slots</li>
    <li>Reduced Respawn Times</li>
    <li>Sourcemod</li>
    <li>HLStatsX Premium</li>
    <li>Quake Sounds</li>
    <li>Orgasm Plugin (Extra Announcer Sounds)</li>
    <li>Start-of-Map Vote for Criticals</li>
    <li>Extra Gore</li>
    </ul>
          <b>Rules</b>
          Failing to comply with any of the server rules will result in an appropriate punishment subject to that admin’s discretion.
    
    <ul>
    
    <li>Admins have final say on all matters. Rules are open to interpretation by admins.</li>
    <li>Respect all admins. Disrespect will not be tolerated.  If there is an issue, post on the forums or contact the server administrator.</li>
    <li>Limit mic spamming. If it is disrupting gameplay or team work or is overly irritating, it is unacceptable.</li>
    <li>No pornographic sprays. If you are unsure whether your spray breaks this rule, do not use it.</li>
    <li>No griefing. This includes grinding to get achievements or unfairly exploiting the ubersaw.</li>
    <li>No team stacking.</li>
    <li>Any form of racism is unacceptable.</li>
    <li>No exploiting.  (Map Glitches, etc)</li>
    </ul>
    
          <b>Administrators</b>
    
    <table id="directory">
    <tr>
    <td class="title">Name</td>
    <td class="title">Contact</td>
    </tr>
    <tr>
    <td>Kinslayer</td>
    <td>(<a href="https://steamcommunity.com/profiles/76561197971703345" target="_blank">Steam</a>), (<a href="mailto:[email protected]">Email</a>)</td>
    </tr>
    <tr>
    <td>Squeezetoy</td>
    <td>(<a href="https://steamcommunity.com/profiles/76561197995242987" target="_blank">Steam</a>), (<a href="mailto:[email protected]">Email</a>)</td>
    </tr>
    <tr>
    <td>Shiverwarp</td>
    <td>(<a href="Steam: https://steamcommunity.com/profiles/76561197991593309" target="_blank">Steam</a>), (<a href="mailto:[email protected]">Email</a>)</td>
    </tr>
    <tr>
    <td>Wolf Blade</td>
    <td>(<a href="https://steamcommunity.com/profiles/76561197982496524" target="_blank">Steam</a>)</td>
    </tr>
    <tr>
    <td>koh-mah</td>
    <td>(<a href="https://steamcommunity.com/profiles/7656119799" target="_blank">Steam</a>)</td>
    </tr>
    </table>
          <b>Map Rotation</b>
    
          The map rotation is governed by end-of-map votes. Maps are taken from this list:
    
    <ul>
    <li>cp_gravelpit</li>
    <li>cp_dustbowl</li>
    <li>cp_granary</li>
    <li>cp_well</li>
    <li>ctf_2fort</li>
    <li>tc_hydro</li>
    <li>ctf_well</li>
    <li>cp_badlands</li>
    <li>pl_goldrush</li>
    <li>cp_fastlane</li>
    <li>ctf_turbine</li>
    <li>pl_badwater</li>
    <li>cp_steel</li>
    <li>cp_junction_final</li>
    <li>cp_follower</li>
    <li>cp_labor</li>
    <li>pl_swift_final</li>
    </ul></div>
    <div class="clear"></div>
    </div></blockquote>

    validation: W3C

    Thread Starter shiverwarp

    (@shiverwarp)

    Bump, it appears to have something to do with the </form>, I’ve tried to simple add in a </p> but it adds it in before the <p>

    It’s completely strange because I’ve tried making it so there isn’t even a space between </center> and </form>

    Thread Starter shiverwarp

    (@shiverwarp)

    I fixed the random <p> by moving the centering code inside the paypal form. The fact remains though, that wordpress was putting it there for some arbitrary reason when editing the page

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Stop parsing my xhtml into something else!’ is closed to new replies.