Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion rendering HTML with embedded $'s
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Christopher Lenz  
View profile  
 More options Jun 18 2007, 5:02 pm
From: Christopher Lenz <cml...@gmx.de>
Date: Mon, 18 Jun 2007 23:02:47 +0200
Local: Mon, Jun 18 2007 5:02 pm
Subject: Re: rendering HTML with embedded $'s
Am 18.06.2007 um 22:54 schrieb Christopher Lenz:

> Am 18.06.2007 um 19:52 schrieb alecf:
>> So I have some HTML that has (yay) perl sample code in it... i.e.

>> <pre>
>>   my $x = 4;
>> </pre>

>> Problem is, that I can't get this to just render normally. We've  
>> tried
>> $$, CDATA, and more.. the only workaround we've found so far is $
>> {"$"}
>> but this seems pretty terrible, and ugly as hell.

>> What's especially odd is that
>> <pre>
>>   my $$x = 4;
>> </pre>

>> renders as
>> <pre>
>> $x = 4
>> </pre>

> Whoa! I'm able to reproduce this, and looking into it. Thanks for
> reporting the issue!

Okay, this should be fixed now in trunk and the 0.4.x branch. I'd  
appreciate if you could verify the fix. Thanks!

Oh, and the double-dollar escaping is the way to go here. If it  
wasn't broken in this case, at least :-P

Cheers,
Chris
--
Christopher Lenz
   cmlenz at gmx.de
   http://www.cmlenz.net/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.