Post details: I am a dork... (and perl sucks)

04/18/05

I am a dork... (and perl sucks)

posted by collin on 05.04.18 at 13:40, admin, 4 comments

I was going to post some stupid thing that had perl in it. And as we all know perl is ugly. This lead to some "i can't parse this post" error. I assumed the "code" tag would just escape everything and treat it as a string of characters... but it didn't

Ideas?

comment by marco on 05.04.18 at 17:05
Try using the <pre> tag. That should pass whatever's inside it to the browser without trying to interpret it; I think whatever line breaks you use will be passed through as well (like latex's verbatim environment if you know that).

I haven't tried using it myself, though...
comment by collin on 05.04.18 at 20:14
The "pre" tag doesn't work, "code" is just a style thing. "xmp" look's like what i want,

"For some browsers it has the useful property uncommemorated by the HTML 3.2 standard of causing all mark up interpretation to be turned off. IE3, NN3, IE6 and MOZ1.4 all show this behaviour."

but it is also depricated. But if it works do I care? Also it doesn't show on the list of...

It doesn't work, "illegal tag error."

None of the "allowed" tags appear to do what I want. Fuck.
comment by devin on 05.04.18 at 21:40
Try this.
comment by collin on 05.04.18 at 22:47
Thanks, that worked...

Comments:

Comment from: marco [Member] · http://www.cs.berkeley.edu/~barreno
Try using the <pre> tag. That should pass whatever's inside it to the browser without trying to interpret it; I think whatever line breaks you use will be passed through as well (like latex's verbatim environment if you know that).

I haven't tried using it myself, though...
Permalink 04/18/05 @ 17:05
Comment from: collin [Member] · http://nonplatonic.com/index.php/collin
The "pre" tag doesn't work, "code" is just a style thing. "xmp" look's like what i want,

"For some browsers it has the useful property uncommemorated by the HTML 3.2 standard of causing all mark up interpretation to be turned off. IE3, NN3, IE6 and MOZ1.4 all show this behaviour."

but it is also depricated. But if it works do I care? Also it doesn't show on the list of...

It doesn't work, "illegal tag error."

None of the "allowed" tags appear to do what I want. Fuck.
Permalink 04/18/05 @ 20:14
Comment from: devin [Member] · http://www.hwaethwugu.com/blog
Try this.
Permalink 04/18/05 @ 21:40
Comment from: collin [Member] · http://nonplatonic.com/index.php/collin
Thanks, that worked...
Permalink 04/18/05 @ 22:47

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.
Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, a, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
URLs, email, AIM and ICQs will be converted automatically.
Options:
 
(Line breaks become <br />)
(Set cookies for name, email & url)