What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » Forum & Website » Strikethrough text and quotes

Strikethrough text and quotes
Author: Message:
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
32 / Male / Flag
Joined: Mar 2003
Status: Online
O.P. Strikethrough text and quotes
Text after this quote won't be strikethroughed:

quote:
test

Text after this quote will be strikethroughed:

quote:
test2

This should be strikethroughed.



In reality, all text should have been strikethrouged.

Firefox bug maybe? :P
YouTube closed-captions ripper (also allows you to download videos!)
12-13-2008 09:43 AM
Profile E-Mail PM Web Find Quote Report
Volv
Skinning Contest Winner
*****

Avatar

Posts: 1233
Reputation: 31
35 / Male / Flag
Joined: Oct 2004
RE: Strikethrough text and quotes
Everything is has a strikethrough except for the very last 2 lines here i.e. working fine here (Opera).

EDIT: Just tried it on firefox and the 2 quotes + the line in between the 2 quotes do not have strikethroughs.

This post was edited on 12-13-2008 at 09:48 AM by Volv.
12-13-2008 09:46 AM
Profile PM Find Quote Report
Th3rmal
Veteran Member
*****

Peek-a-boo! I see you!!

Posts: 1226
Reputation: 26
32 / Male / Flag
Joined: Aug 2005
RE: Strikethrough text and quotes
quote:
Originally posted by Volv
Just tried it on firefox and the 2 quotes + the line in between the 2 quotes do not have strikethroughs.

You have the intellect comparable to that of a rock. Be proud.
12-13-2008 02:53 PM
Profile E-Mail PM Web Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: Strikethrough text and quotes
yea, fail much? =\
12-13-2008 02:54 PM
Profile PM Find Quote Report
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
RE: Strikethrough text and quotes
quote:
Originally posted by validator.w3.org
Line 103, Column 11: document type does not allow element "blockquote" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.

Line 106, Column 11: document type does not allow element "blockquote" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.

Blame the dodgy post parser. Again.
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
12-13-2008 05:51 PM
Profile PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Strikethrough text and quotes
Why should the parser be expected to fix mistakes like that? It's possible to produce invalid HTML with just about any BBCode parser that doesn't use a state machine or some other complicated and slow solution like that.

Kinda related thread: http://community.mybboard.net/archive/index.php/thread-12241.html

You can easily fix the problem by fixing your BBcode. :p

blah 1
quote:
test
blah 2
quote:
test2
blah 3

(The styling of quote: is technically not supported =p)
12-13-2008 07:30 PM
Profile PM Web Find Quote Report
TheBlasphemer
Senior Member
****

Avatar

Posts: 714
Reputation: 47
37 / – / –
Joined: Mar 2004
RE: Strikethrough text and quotes
quote:
Originally posted by WDZ
Why should the parser be expected to fix mistakes like that? It's possible to produce invalid HTML with just about any BBCode parser that doesn't use a state machine or some other complicated and slow solution like that.
What? calling a state-machine slower than a string replace :p? With string replacing, you're already looping through the string several times, why would doing it once but slightly different be any slower?
Actually, with algorithms like Aho-Corasick, you could probably suffice with looping through it just once and doing all the BBCode replaces properly with a stack and all.

The fact that implementing a state machine in PHP is slower than using the built-in regexp or string replacing functions doesn't mean it's slower by definition ;)

In theory (and probably also in practice, if you'd write a PHP module for it) a state machine would probably be one of the fastest and most elegant way to implement BBCode parsing :p

(Sorry mate, just couldn't resist ;))
[Image: theblasp.png]
12-18-2008 01:13 PM
Profile PM Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Strikethrough text and quotes
quote:
Originally posted by TheBlasphemer
The fact that implementing a state machine in PHP is slower than using the built-in regexp or string replacing functions doesn't mean it's slower by definition ;)
Right, sorry for not making that clear... a PHP implementation is what I had in mind, as this forum software is written in PHP. :p

There is a BBCode parsing extension available, but I can't find a single application that uses it, and who wants to compile and install an extension and add another dependency to their software just to parse some BBCode? =p
12-19-2008 06:25 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On