Fixed Link in title of custom thread field cause dodgy display in list

Mr Lucky

Well-known member
Affected version
2.0.0
I have a link in a field title and so it displays in the list like this:

FirefoxScreenshot040.webp

This is the title:

HTML:
I have read the <a target="_blank" href="/help/forum-use-guidelines-and-tips/">forum guide to posting</a>
 
Realistically, I don't think there's actually any expectation that the title of a field would have HTML in it. The description would normally be ok though. Changing this would likely require ensuring that HTML is not usable in custom field titles (any type of custom field).
 
Realistically, I don't think there's actually any expectation that the title of a field would have HTML in it. The description would normally be ok though. Changing this would likely require ensuring that HTML is not usable in custom field titles (any type of custom field).

Ah OK. Except it's very useful, eg When asking people to tick they have read the FAQs or the rules. (As with the xenforo agreement to the rues at the end of the registration form)

I'd prefer to keep it possible so please don't take the feature away, I only mentioned it thinking it was a bug but i can live with it :)
 
For a future version, I’d like to include a feature to allow HTML styling of the entire field display, so you could insert your link using that system. For the time being, a link in the description is probably the best way to go.
 
This isn't actually suggesting that we won't ever change this (as Mike suggested) by preventing HTML there, but for now we've simply stripped any HTML tags (in a fairly basic way) from the custom field list here.

As of the next release, that item in the list will appear simply as:
I have read the forum guide to posting

Hopefully that's a reasonable compromise for now.
 
This isn't actually suggesting that we won't ever change this (as Mike suggested) by preventing HTML there, but for now we've simply stripped any HTML tags (in a fairly basic way) from the custom field list here.

As of the next release, that item in the list will appear simply as:
I have read the forum guide to posting

Hopefully that's a reasonable compromise for now.

So will the html link still work on the actual thread that the users see?
 
Back
Top Bottom