hearmeneigh / fchat-rising

A heavily modded F-Chat 3.0 client for F-List
https://hearmeneigh.github.io/fchat-rising/
MIT License
40 stars 18 forks source link

Malformed BB Code tags render inconsistently with website #313

Open FatCatClient opened 9 months ago

FatCatClient commented 9 months ago

Take for instance a tag like [img=1 f]inlinename[/img], where there's invalid characters for the inline number (a space and a letter). On the website, it simply doesn't show the actual image and gives a warning in the editor:

image

Meanwhile the client doesn't parse it at all:

image

Something similar happens if you add additional tags as an attribute to another tag, like [b=[u]underlined text[/u]]bold text[/b]:

image

image

I don't think this is related to #276 though, since the changes in the PR seem to only check if the [hr] tag is inside a [collapse] tag. That said, I haven't actually checked yet to see if the issue exists in versions prior to that. I was just looking for a cheeky way to hide the new high res profile pic tags.