SUGGESTIONS
|
|
|
|
|
Marti wrote: The description is Adds a quote button to posts, even has selection quoting.
What's wrong with that? Sizzle's is even shorter than mine, even though they both get to the point. |
|
|
JoeSimmons wrote: What's wrong with that? Sizzle's is even shorter than mine, even though they both get to the point. Script Summary:lol |
|
|
Now supports nested quoting. Sizzle take a look and see how I did it. And I used no code from you, pretty simple actually with a little regex knowledge.
post = selectHTML().replace(/^(<p>\s*<\/p>)/g,'').replace(/^(\s*<br>\s*)*\s*/,'').replace(/^\s+/,''); |