1 Guest viewing this page
Hidden 11 yrs ago Post by Ontos
Raw
OP
Avatar of Ontos

Ontos なんですか。

Member Seen 7 yrs ago

Check out the following 3 hiders and notice something.







In addition, posting a new thread with hiders initially breaks them. You need to edit the post and save it again in order for the hiders to show up.
Hidden 11 yrs ago Post by Shienvien
Raw
Avatar of Shienvien

Shienvien Creator and Destroyer

Member Seen 5 days ago

Could you perhaps explain what you did? Quoting removes code at the moment, so no one (besides Mahz) can really see what you did there. But yes, hider title content ought not to affect how the hider functions.

Edit: Apparently, adding the typical escape-character before the apostrophe will not prevent the header title from collapsing. (It was how functional apostrophed hiders could be done on the old RPG, amongst other things.) In fact, the escape character doesn't appear to do anything; it's visible.
Hidden 11 yrs ago Post by Alex
Raw
Avatar of Alex

Alex

Member Seen 6 mos ago

Looks like the problem stems from apostrophes.
Don't use apostrophes as quotation marks. Simple enough. Similarly, avoid them in general in hider titles. Looks like nothing after an apostrophe appears in a hider title.
Hidden 11 yrs ago Post by Shienvien
Raw
Avatar of Shienvien

Shienvien Creator and Destroyer

Member Seen 5 days ago

Yes, apostrophes mess with the coding here - and this is a glitch, since nothing should be able to do it. Not even "functional characters".

(On occasion, non-escaped fields like that can result in someone finding a way to abuse it, amongst other things.)
Hidden 11 yrs ago Post by Ellri
Raw
Avatar of Ellri

Ellri Lord of Eat / Relic

Member Seen 1 yr ago

This has to do with the nature of the code powering the hider bbcode. certain symbols are used in such to make certain elements work. We think it'll be very difficult to get it to permit ' inside the []. But you can always use some of these two ´ ` not quite right, but doesn't mess with code. found with shift/alt-gr + that key two steps to the right of 0 on the keyboard.
Hidden 11 yrs ago Post by Shienvien
Raw
Avatar of Shienvien

Shienvien Creator and Destroyer

Member Seen 5 days ago

If an interface well-coded, then nothing that a standard user writes in should in no way affect how the code functions. It is not a matter of "just replace apostrophes with accents" - it is a matter of bad code. All programming languages I know of have means to have the contents of certain regions ignored, even if they contain functional characters. Making it so that an user can't accidentally or intentionally mess with the code's workings is called "escaping" (at least by the programmers here). I've seen hiders that get along with apostrophes just fine, and I have seen hiders which make the user to escape the apostrophe manually (usually with a backslash, which is the most typical "escape-character" - essentially means "ignore the next thing" -, before the apostrophe).
Hidden 11 yrs ago Post by Ellri
Raw
Avatar of Ellri

Ellri Lord of Eat / Relic

Member Seen 1 yr ago

fair enough.
↑ Top
1 Guest viewing this page
© 2007-2024
BBCode Cheatsheet