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
Escaping "<<" and ">>" characters
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
Nicolas Syssoieff  
View profile  
 More options Feb 27 2008, 4:23 am
From: "Nicolas Syssoieff" <nicolas.syssoi...@gmail.com>
Date: Wed, 27 Feb 2008 10:23:22 +0100
Local: Wed, Feb 27 2008 4:23 am
Subject: [tw] Escaping "<<" and ">>" characters

Hi guys,

I know this has been answered before, but I can't find it again.
Suppose I want to create a newTiddler button, with a text parameter, so that
every new Tiddler comes with text inside (like a hint, guidelines, or
whatever).
The following does not work, because the syntax is not compatible with
inserting << or >> in the line, of course :
<<newTiddler text:"<<tiddler Hints>>">>

What is the appropriate syntax to escape the "inside" << and >> ?

Thanks,
Nicolas.


 
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.
FND  
View profile  
 More options Feb 27 2008, 5:52 am
From: FND <F...@gmx.net>
Date: Wed, 27 Feb 2008 11:52:53 +0100
Local: Wed, Feb 27 2008 5:52 am
Subject: Re: [tw] Escaping "<<" and ">>" characters

> What is the appropriate syntax to escape the "inside" << and >> ?

Normally you'd escape the the nested chevrons by adding a backslash:
     <<newTiddler text:"<<tiddler Hints>\>">>
However, that won't work here, because it inserts a literal backslash
into the resulting tiddler - so let's try it with evaluated parameters:
     <<newTiddler text:{{"<<tiddler Hints>" + ">"}}>>

HTH.

-- F.


 
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.
Eric Shulman  
View profile  
 More options Feb 27 2008, 7:44 am
From: Eric Shulman <elsdes...@gmail.com>
Date: Wed, 27 Feb 2008 04:44:24 -0800 (PST)
Local: Wed, Feb 27 2008 7:44 am
Subject: Re: Escaping "<<" and ">>" characters

> into the resulting tiddler - so let's try it with evaluated parameters:
>      <<newTiddler text:{{"<<tiddler Hints>" + ">"}}>>

Using \ *inside* the evaluated parameter also works:

      <<newTiddler text:{{"<<tiddler Hints>\>"}}>>

-e


 
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.
Nicolas Syssoieff  
View profile  
 More options Feb 27 2008, 7:48 am
From: "Nicolas Syssoieff" <nicolas.syssoi...@gmail.com>
Date: Wed, 27 Feb 2008 13:48:01 +0100
Local: Wed, Feb 27 2008 7:48 am
Subject: Re: [tw] Re: Escaping "<<" and ">>" characters

Aah, I knew I had seen it somewhere, with escaped symbol like "\", but I
couldn't remember the evaluated parameter with {{ and }}

Thanks a lot guys !
Nicolas.


 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »