Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

BBcode Greasemonkey Multiline tags

Name: Anonymous 2009-06-21 7:40

I have a greasemonkey script that replaces BBcode with HTML because the admin of a site I frequent won't implement text effects. The problem is when users use tags with multiple lines in them they don't work.

For example:

text text text

Shows as bold text, but


text
text
text


Does not bold the text and the tags stay visible.


Here is the full script. Any ideas on how to make multiple lines work?

http://snipt.org/kkml

mainly just want to get the quote tag working, that's the one they use the most and mess up on by adding multiple lines.

Name: Anonymous 2009-06-21 7:57

You really need to learn how to write better code. I recommend Factor.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List