Mordel's Bar & Grill
HTML code only half works.
Post new topic   Reply to topic    Mordel's Bar & Grill Forum Index » Site Bugs and Enhancements
View previous topic :: View next topic  
Author Message
Captain_Frosty
ComStar
Private, First Class
Private, First Class


Joined: 22-Nov-2024 02:18
Posts: 45
Location: Greece
PostPosted: 16-Apr-2025 07:28    Post subject: HTML code only half works. Reply to topic Reply with quote

Hello!

I wasn't sure whether to put this here or in "Site Technical Questions" but considering that there is literally an option for disabling HTML, I have to assume it's more of a big.

I've been trying to use HTML in order to better format my post(s) and for some reason, there always seem to be issues in the post recognizing the code.

The current issue I'm having is with table.
If I type the following (taken from google as a quick example):
Code:
<table>
  <tr>
    <th>Company</th>
    <th>Contact</th>
    <th>Country</th>
  </tr>
  <tr>
    <td>Alfreds Futterkiste</td>
    <td>Maria Anders</td>
    <td>Germany</td>
  </tr>
  <tr>
    <td>Centro comercial Moctezuma</td>
    <td>Francisco Chang</td>
    <td>Mexico</td>
  </tr>
</table>


Then the first thing that happens is that a load of empty lines appear at the top of the post. Then the page just writes the "th" lines as raw text in that blank space and then it will load up the "td" text at the bottom.

If I try to add any kind of style, it just ignores it, types it as raw text and then just types everything as default.

Am I missing something? Is the site's own HTML code clashing with the table or am I just a fool?
Any assistance is appreciated!
Back to top View profile Send site message
Mordel
Mordel.Net
Administrator
Administrator


Joined: 03-Feb-2002 00:00
Posts: 6160
Location: United States
PostPosted: 16-Apr-2025 13:36    Post subject: HTML code only half works. Reply to topic Reply with quote

To be honest, I don't think all HTML is supported. The code these forums are based on is probable some 25+ years old.

What I can do is create a bug for this using your example and see what is going on. But it's likely going to be one of those things where HTML will need to be added to what's supported as it's needed.
_________________
Mordel Blacknight - Site Administrator
Back to top View profile Send site message Send e-mail Visit website Facebook Username Twitter Username Steam Custom URL
chihawk
Clan Blood Spirit
Master Bartender
Master Bartender


Joined: 04-Feb-2002 00:00
Posts: 8102
Location: United States
PostPosted: 18-Apr-2025 07:12    Post subject: Re: HTML code only half works. Reply to topic Reply with quote

Mordel wrote:
To be honest, I don't think all HTML is supported. The code these forums are based on is probable some 25+ years old.


Yeah, the older PHP forums, which this one was originally based on, supported only the most basic of HTML. This was when these forums were using BBCode instead, and I'm guessing this one is so old it doesn't support all of those now either.
_________________
www.210sportsblog.com
Back to top View profile Send site message Send e-mail Visit website Twitter Username
Mordel
Mordel.Net
Administrator
Administrator


Joined: 03-Feb-2002 00:00
Posts: 6160
Location: United States
PostPosted: 18-Apr-2025 08:28    Post subject: Re: HTML code only half works. Reply to topic Reply with quote

chihawk wrote:
Yeah, the older PHP forums, which this one was originally based on, supported only the most basic of HTML. This was when these forums were using BBCode instead, and I'm guessing this one is so old it doesn't support all of those now either.


I've also updated the code in so many places so many different ways, the code on the backend hardly resembles what it once was.
_________________
Mordel Blacknight - Site Administrator
Back to top View profile Send site message Send e-mail Visit website Facebook Username Twitter Username Steam Custom URL
Display posts from previous:
Post new topic   Reply to topic    Mordel's Bar & Grill Forum Index » Site Bugs and Enhancements All times are GMT-04:00

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum