Jump to content
Ketarin forum
aurelio

"|" character inside one placeholder option

Recommended Posts

Is it possible to include one option in a "placeholder" (from a point in a Softpedia template) where I will have the "|" character as part of the specific option?

 

e.g.: I have 3 options, and the last one include both the 1st and the 2nd; I've tried escaping the "|" character but it did not work...

<placeholder name="Internal (Softpedia) or External (App Site) or Any (both) Sources?" value="Softpedia\|External" options="Softpedia|External|Softpedia\|External" />

Share this post


Link to post
Share on other sites

If escaping it didn't work, then it's unlikely you can, right now.

many thanks for your asnwer, Shawn! :)

 

I'm gonna try to use | instead of the | char on those specific places... Let's see if it works...

 

Edit: nope, the Template Entry Window interprets it as a regular | char and divides the desired option into 2; too bad...

Share this post


Link to post
Share on other sites

Will add <option> elements for <placeholder>s for the next version, so you can use any text without being limited by a delimiter.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.