Fix quoting again
commitfbd451d66e24102e11874ba1ec1928659a9b29fa
authorBrian Marshall <bmars@sdf.lonestar.org>
Thu, 24 May 2012 02:58:14 +0000 (23 19:58 -0700)
committerBrian Marshall <bmars@sdf.lonestar.org>
Thu, 24 May 2012 02:58:14 +0000 (23 19:58 -0700)
tree726d47eb48468dd8b40b42abece88aa38375c9ed
parent15c6a231d834ac819b9b7c184fea515d73d319b3
Fix quoting again

Quoting now properly converts all div.fquote/span.fspoiler/blockquote
tags back to their postable GameFAQs equivalents. DOM is used to do all
this, since regex isn't very robust when it comes to HTML parsing.

Signatures are now removed by removing the span.gamefox-signature
element instead of using a regex - this feels like a cleaner solution
but relies on the elements.sigspans pref to be true. Hopefully that
isn't much of an issue because 99% of people should have that pref set
that way.

(Remaining quote issues will be fixed in another commit.)
content/quote.js
content/utils.js