Hack Forums
list tag bug - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hack Forums Official Information (https://hackforums.net/forumdisplay.php?fid=1)
+--- Forum: Site News (https://hackforums.net/forumdisplay.php?fid=2)
+--- Thread: list tag bug (/showthread.php?tid=6146383)



list tag bug - xHeaven - Mar 25, 2021

Hey,

long story short, this is pretty frustrating when I edit my threads and I hope it will be fixed ASAP. It's there for a while, but didn't care enough yet to post about it. Here it is.

Create a list.
Spoiler (Click to View)
  • this is
  • a list
  • right?

Now create a list inside the list, so it will be a multidimensional list.
Spoiler (Click to View)
  • this is
  • a list
    • but multidimensional
  • right?

Now if you post it like this, you are gucci. However, once you edit the post (or if you have pressed preview before posting), you will have a f*cked up list, with an empty list element put to your nth list's top.
Like this:
Spoiler (Click to View)
  • this is
  • a list
    • but multidimensional
  • right?

And if you save it like this, on the next preview/edit it'll be even more effed up as it'll throw ENTERs after the first, empty list element.

Can we fix it, please?

Edit: the fact I've accidentally messed up the second, good example because I previewed the post before posting, makes me wanna hang myself. Fixed.

Edit2:
Test after Xerotic's fix @ 2021-03-31 20:04
  • this is
  • a list
    • but multidimensional
  • right?

Edit3: can confirm, it's fixed. Thanks!


RE: list tag bug - Omniscient - Mar 25, 2021

The MyBB list tags are very bad. The only solution would be to eliminate them and consider an alternative mycode. Usually though members are using the tags poorly with other mycode like align, color, and size.


RE: list tag bug - xHeaven - Mar 25, 2021

(Mar 25, 2021 05:39 PM)Omniscient Wrote:  The MyBB list tags are very bad.  The only solution would be to eliminate them and consider an alternative mycode.  Usually though members are using the tags poorly with other mycode like align, color, and size.

Just so my thread gets answered: it will not be fixed, ever OR it can be put on a To-Do list somewhere? It can be pretty annoying, especially if you have a thread with lots of lists (10-20+) and once you click on "Edit", it's messed up.
I understand that it is not a priority, though, just want to know if it's ever going to be fixed.


RE: list tag bug - xHeaven - Mar 26, 2021

(Mar 25, 2021 09:20 PM)James Wrote:  Nested lists have always had this issue. On threads, you can avoid it if you don't preview or make an edit and if you do, then repaste in the list. On blogs though, when they get approved I guess it must be like editing it or something so the nested lists bug.

Repasting lists on Edit is not a fix. Not previewing my thread is not a fix either. I'm looking for a solution here. I don't want to repaste every single list in a thread that has over 20 lists every time I press on Preview or Edit if it's not absolutely necessary... and even then, it's a terribly annoying thing.
Thanks for your input though baby. ❤️


RE: list tag bug - Omniscient - Mar 26, 2021

We're not going to fix this. You can adjust your posts accordingly to have better use of mycode.


RE: list tag bug - Omniscient - Mar 26, 2021

(Mar 26, 2021 07:18 PM)xadamxk Wrote:  To be fair, they didn't have this issue until the fairly recent MyBB update.
I used to use complex layouts using lists but now the parser shits itself when you go 2 deep.

It's been an issue for many years.

https://github.com/mybb/mybb/issues/602

https://github.com/mybb/mybb/issues/4074

They've tried to fix it some but it's really never 100%.

I'll compare our code with current MyBB verison.
This commit might fix it.

https://github.com/mybb/mybb/commit/ebf8c16b57331d7e9dd4933383dc46913a464a89


RE: list tag bug - Xerotic - Mar 31, 2021

Fixed. CTRL + F5 on the Full Edit page to clear your cache and fetch the latest files from HF.


RE: list tag bug - xHeaven - Mar 31, 2021

(Mar 31, 2021 10:51 AM)Xerotic Wrote:  Fixed. CTRL + F5 on the Full Edit page to clear your cache and fetch the latest files from HF.

Just tested in OP, it is indeed fixed. Huge thanks! Closing the thread.


RE: list tag bug - Omniscient - Mar 31, 2021

Yeah that MyBB update in June apparently worked. Thanks OP for bringing this up because for years it's been an issue and I've simply accepted it.

Fixed now and that's great.