Customizing SMF > SMF Coding Discussion

quoting posts that have " in them fails

(1/3) > >>

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:
heh, and I thought it was just me!

Ben_S:
Trying to quote this topic I get


--- Code: ---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]
--- End code ---

[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]

Navigation

[0] Message Index

[#] Next page

Go to full version