News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

quoting posts that have " in them fails

Started by Jack.R.Abbit™, August 02, 2004, 02:46:49 AM

Previous topic - Next topic

Jack.R.Abbit™

as the title says... "quoting" this message will produce a javascript error:
<!---- begin error --->
http://www.simplemachines.org/community/index.php?action=quotefast;quote=123595
Unknown context
Syntax error while loading (line 2)
95 date=1091429209]\nas the title says... "quoting" this mes
---------------------------------------------------^
<!--- end error --->

Cypher7


Ben_S

Trying to quote this topic I get

Error: missing ; before statement
Source File: http://www.simplemachines.org/community/index.php?action=quotefast;quote=123595;sesc=c4c74077c0237a0676530bc6fa47dfe2
Line: 11, Column: 120
Source Code:
var quote = "[quote author=Jack.R.Abbit link=topic=14640.msg123595#msg123595 date=1091429209]\nas the title says... "quoting" this message will produce a javascript error:\n<!---- begin error --->[tt]\nhttp://www.simplemachines.org/community/index.php?[/quote]
Liverpool FC Forum with 14 million+ posts.

[Unknown]

I know what caused this, I'll fix it right away... when I get home, that is.

-[Unknown]

[Unknown]

 ! Fixed typo that made quotefast functionality not work with "s. (Post.php)
! Mozilla now does entities properly with quotefast ;). (Post.php)
! Now, if someone replies while you were reading you still get the subject line. (Post.php)

Not live yet.

-[Unknown]

Jack.R.Abbit™

Quote from: [Unknown] on August 03, 2004, 03:54:57 AM
! Fixed typo that made quotefast functionality not work with &quot;s. (Post.php)
! Mozilla now does entities properly with quotefast ;). (Post.php)
! Now, if someone replies while you were reading you still get the subject line. (Post.php)

Not live yet.

-[Unknown]
I don't kow if it has anything to do with this being fixed... but now entities are changed to their &whatever code... notice the " in the quote above.  I did not do that.

[Unknown]

This was fixed in Mozilla and IE, but not in Opera and possibly a few other browsers....

You're using Opera, no?

If you can give me a way to take a string, in Opera, and convert the entities in it from having entities (like &quot;) to not having them, then we'll be in business.... note that it must do international entities too, like &#....;.

I got that to work on IE and Mozilla.... or it should work, at least.

-[Unknown]

Jack.R.Abbit™

Quote from: [Unknown] on August 11, 2004, 01:02:36 PM
a way to take a string, in Opera, and convert the entities in it from having entities (like &quot;) to not having them
you mean "a way to take a string, using JavaScript compatible with Opera, and convert the entities in it from having entities (like &quot;) to not having them"?  That I don't know.

[Unknown]

 ! Now, if you're using Opera, quoting a post with "insert quote" won't show &quot;s, although it still has i18n problems. (Post.php)

-[Unknown]

TXSherry

Will ampersand-hash34; work cross-browser?


/shh, i'm in bed, really.




[Unknown]

You can just type it: &#34;

And, I already fixed it, didn't I?  The problem is with INTERNATIONAL characters.

-[Unknown]

TXSherry

OOps, didn't know I could type it. honest.

< /whinge+excuses=on>
I'm goin now.   I tried 'new posts' and this thread came up and I didn't bother to read the dates, which I should have, but then my dog et my eyes and I can barely read the dateline and so its not til you said you already fixed it that i realized i was bumping up an older thread because ... [etc]
< /whine>

* txsherry .oO(Bets unknown wishes I never came to this board!)

Jack.R.Abbit™

Quote from: [Unknown] on August 11, 2004, 01:12:03 PM
! Now, if you're using Opera, quoting a post with &quot;insert quote&quot; won't show &quot;s, although it still has i18n problems. (Post.php)

-[Unknown]
hmm... is it not fixed or just not live?

[Unknown]

Quote from: Jack.R.Abbit on August 17, 2004, 10:08:50 AM
Quote from: [Unknown] on August 11, 2004, 01:12:03 PM
! Now, if you're using Opera, quoting a post with &quot;insert quote&quot; won't show &quot;s, although it still has i18n problems. (Post.php)

-[Unknown]
hmm... is it not fixed or just not live?

Hmm, actually, it should be live... did I go and break it again?

(I swear I did test it with Opera before saying it was fixed!!!)

-[Unknown]

[Unknown]

Sorry, I was wrong about Opera.  It sorta does support it, it's just... horribly buggy :P.

Will be fixed next upload.

-[Unknown]

Advertisement: